mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #15767: back out 8a0ed9f63c6e, finishing the removal of
ModuleNotFoundError.
This commit is contained in:
parent
82da8886cc
commit
679ecb565b
17 changed files with 412 additions and 427 deletions
|
@ -131,7 +131,7 @@ class HelperFunctionsTests(unittest.TestCase):
|
|||
re.escape(os.path.join(pth_dir, pth_fn)))
|
||||
# XXX: ditto previous XXX comment.
|
||||
self.assertRegex(err_out.getvalue(), 'Traceback')
|
||||
self.assertRegex(err_out.getvalue(), 'ModuleNotFoundError')
|
||||
self.assertRegex(err_out.getvalue(), 'ImportError')
|
||||
|
||||
@unittest.skipIf(sys.platform == "win32", "Windows does not raise an "
|
||||
"error for file paths containing null characters")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue