diff options
author | Charles-François Natali <neologix@free.fr> | 2011-10-04 18:40:58 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2011-10-04 18:40:58 (GMT) |
commit | 79164c8c713caa1d99c21cacabc606f4584af688 (patch) | |
tree | 0b63e424170991df8159f5897ba4a0e51c9ec175 /Lib/test/test_import.py | |
parent | a13b1faa788f95f063a2190eb63d81ee8565182d (diff) | |
download | cpython-79164c8c713caa1d99c21cacabc606f4584af688.zip cpython-79164c8c713caa1d99c21cacabc606f4584af688.tar.gz cpython-79164c8c713caa1d99c21cacabc606f4584af688.tar.bz2 |
Issue #11956: Always skip test_import.test_unwritable_directory when run as
root, since the semantics varies across Unix variants.
Diffstat (limited to 'Lib/test/test_import.py')
-rw-r--r-- | Lib/test/test_import.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index 42ec084..f74556f 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -547,8 +547,8 @@ class PycacheTests(unittest.TestCase): @unittest.skipUnless(os.name == 'posix', "test meaningful only on posix systems") - @unittest.skipIf(platform.system() == 'FreeBSD' and os.geteuid() == 0, - "due to non-standard filesystem permission semantics (issue #11956)") + @unittest.skipIf(os.geteuid() == 0, + "due to varying filesystem permission semantics (issue #11956)") def test_unwritable_directory(self): # When the umask causes the new __pycache__ directory to be # unwritable, the import still succeeds but no .pyc file is written. |