From 51460cc490f92ace44b3b2e4eecad5980537d317 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Wed, 24 Apr 2013 16:34:07 -0400 Subject: Issue #17244: Windows doesn't let you set permissions on directories. --- Lib/test/test_py_compile.py | 2 ++ 1 file changed, 2 insertions(+) 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. -- cgit v0.12