From: Brett Cannon Date: Wed, 24 Apr 2013 20:34:07 +0000 (-0400) Subject: Issue #17244: Windows doesn't let you set permissions on directories. X-Git-Tag: v3.4.0a1~847 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51460cc490f92ace44b3b2e4eecad5980537d317;p=python Issue #17244: Windows doesn't let you set permissions on directories. --- diff --git a/Lib/test/test_py_compile.py b/Lib/test/test_py_compile.py index fa9726b97e..e1795546e1 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.