Skip to content

Commit 7abaefc

Browse files
authored
Fix indentation for test_install_scripts_selinux
1 parent d15ad82 commit 7abaefc

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Lib/test/test_venv.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -374,14 +374,14 @@ def create_contents(self, paths, filename):
374374
f.write(b'Still here?')
375375

376376
@unittest.skipUnless(hasattr(os, 'listxattr'), 'test requires os.listxattr')
377-
def test_install_scripts_selinux(self):
378-
"""
379-
gh-145417: Test that install_scripts does not copy SELinux context
380-
when copying scripts.
381-
"""
382-
with patch('os.listxattr') as listxattr_mock:
383-
venv.create(self.env_dir)
384-
listxattr_mock.assert_not_called()
377+
def test_install_scripts_selinux(self):
378+
"""
379+
gh-145417: Test that install_scripts does not copy SELinux context
380+
when copying scripts.
381+
"""
382+
with patch('os.listxattr') as listxattr_mock:
383+
venv.create(self.env_dir)
384+
listxattr_mock.assert_not_called()
385385

386386
def test_overwrite_existing(self):
387387
"""

0 commit comments

Comments
 (0)