summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_py_compile.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-04-24 20:34:07 (GMT)
committerBrett Cannon <brett@python.org>2013-04-24 20:34:07 (GMT)
commit51460cc490f92ace44b3b2e4eecad5980537d317 (patch)
treedf19a793130ed5fb652ae0532cdb02362b32cc08 /Lib/test/test_py_compile.py
parent208ac5cf6553e8c83dbefef8ef180c5394baa7bc (diff)
downloadcpython-51460cc490f92ace44b3b2e4eecad5980537d317.zip
cpython-51460cc490f92ace44b3b2e4eecad5980537d317.tar.gz
cpython-51460cc490f92ace44b3b2e4eecad5980537d317.tar.bz2
Issue #17244: Windows doesn't let you set permissions on directories.
Diffstat (limited to 'Lib/test/test_py_compile.py')
-rw-r--r--Lib/test/test_py_compile.py2
1 files changed, 2 insertions, 0 deletions
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.