mirror of
https://github.com/python/cpython.git
synced 2026-03-03 19:40:51 +00:00
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. ........
This commit is contained in:
parent
82f58460b2
commit
49ee82c4eb
1 changed files with 2 additions and 0 deletions
|
|
@ -134,6 +134,8 @@ def test_addpackage_import_bad_exec(self):
|
|||
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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue