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

View file

@ -55,6 +55,8 @@ def test_relative_path(self):
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.