Issue #17244: Windows doesn't let you set permissions on directories.

This commit is contained in:
Brett Cannon 2013-04-24 16:34:07 -04:00
parent 208ac5cf65
commit 51460cc490
1 changed files with 2 additions and 0 deletions

View 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.