]> granicus.if.org Git - python/commitdiff
Issue #17244: Windows doesn't let you set permissions on directories.
authorBrett Cannon <brett@python.org>
Wed, 24 Apr 2013 20:34:07 +0000 (16:34 -0400)
committerBrett Cannon <brett@python.org>
Wed, 24 Apr 2013 20:34:07 +0000 (16:34 -0400)
Lib/test/test_py_compile.py

index fa9726b97e6a7b356c0954c0eba69232068d8628..e1795546e1f7f831e0a1907d62ce9d110d854cc7 100644 (file)
@@ -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.