diff options
author | R. David Murray <rdmurray@bitdance.com> | 2010-12-27 04:37:25 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2010-12-27 04:37:25 (GMT) |
commit | 49ee82c4eb18003a198a6fc02f2bbbcb5d931180 (patch) | |
tree | 7f5dfb9614d8e1e8c2559868eaaa2fc3737092bd /Lib/test/test_site.py | |
parent | 82f58460b2f3ba36ae1b42738d486783865bdd68 (diff) | |
download | cpython-49ee82c4eb18003a198a6fc02f2bbbcb5d931180.zip cpython-49ee82c4eb18003a198a6fc02f2bbbcb5d931180.tar.gz cpython-49ee82c4eb18003a198a6fc02f2bbbcb5d931180.tar.bz2 |
Merged revisions 87508 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87508 | r.david.murray | 2010-12-26 23:31:48 -0500 (Sun, 26 Dec 2010) | 5 lines
Skip test that does not raise an error on Windows.
I'm assuming that the putative path from the malformed
pth file is simply not found and therefore ignored.
........
Diffstat (limited to 'Lib/test/test_site.py')
-rw-r--r-- | Lib/test/test_site.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 4752f09..69349e1 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -134,6 +134,8 @@ class HelperFunctionsTests(unittest.TestCase): self.assertRegexpMatches(err_out.getvalue(), 'Traceback') self.assertRegexpMatches(err_out.getvalue(), 'ImportError') + @unittest.skipIf(sys.platform == "win32", "Windows does not raise an " + "error for file paths containing null characters") def test_addpackage_import_bad_pth_file(self): # Issue 5258 pth_dir, pth_fn = self.make_pth("abc\x00def\n") |