diff options
author | Brett Cannon <brett@python.org> | 2013-04-24 20:34:07 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-04-24 20:34:07 (GMT) |
commit | 51460cc490f92ace44b3b2e4eecad5980537d317 (patch) | |
tree | df19a793130ed5fb652ae0532cdb02362b32cc08 /Lib | |
parent | 208ac5cf6553e8c83dbefef8ef180c5394baa7bc (diff) | |
download | cpython-51460cc490f92ace44b3b2e4eecad5980537d317.zip cpython-51460cc490f92ace44b3b2e4eecad5980537d317.tar.gz cpython-51460cc490f92ace44b3b2e4eecad5980537d317.tar.bz2 |
Issue #17244: Windows doesn't let you set permissions on directories.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_py_compile.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_py_compile.py b/Lib/test/test_py_compile.py index fa9726b..e179554 100644 --- a/Lib/test/test_py_compile.py +++ b/Lib/test/test_py_compile.py @@ -55,6 +55,8 @@ class PyCompileTests(unittest.TestCase): self.assertTrue(os.path.exists(self.pyc_path)) self.assertFalse(os.path.exists(self.cache_path)) + @unittest.skipIf(os.name == 'nt', + 'cannot control directory permissions on Windows') def test_exceptions_propagate(self): # Make sure that exceptions raised thanks to issues with writing # bytecode. |