diff options
author | Brett Cannon <brett@python.org> | 2013-06-15 02:50:57 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-06-15 02:50:57 (GMT) |
commit | 0b16b0d3f0b707a0558c41dd4c88c9465edbf434 (patch) | |
tree | bd904744c98fd8194ad6874e90855e2d4d0a48b0 /Lib | |
parent | 4f422e34148f0f574ad2f6725f5299eaf8f35bcd (diff) | |
download | cpython-0b16b0d3f0b707a0558c41dd4c88c9465edbf434.zip cpython-0b16b0d3f0b707a0558c41dd4c88c9465edbf434.tar.gz cpython-0b16b0d3f0b707a0558c41dd4c88c9465edbf434.tar.bz2 |
make test more robust under Windows
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_py_compile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_py_compile.py b/Lib/test/test_py_compile.py index 54dc596..9f341bd 100644 --- a/Lib/test/test_py_compile.py +++ b/Lib/test/test_py_compile.py @@ -41,7 +41,7 @@ class PyCompileTests(unittest.TestCase): # Issue #17222 try: os.symlink(self.pyc_path + '.actual', self.pyc_path) - except OSError: + except (NotImplementedError, OSError): self.skipTest('need to be able to create a symlink for a file') else: assert os.path.islink(self.pyc_path) |