mirror of
https://github.com/python/cpython.git
synced 2025-08-24 18:55:00 +00:00
Issue #15767: Use ModuleNotFoundError.
This commit is contained in:
parent
c943265ba5
commit
46f97b85a8
16 changed files with 337 additions and 284 deletions
|
@ -263,7 +263,7 @@ Use help() to get the interactive help utility.
|
|||
Use help(str) for help on the str class.'''.replace('\n', os.linesep)
|
||||
|
||||
# output pattern for module with bad imports
|
||||
badimport_pattern = "problem in %s - ImportError: No module named %r"
|
||||
badimport_pattern = "problem in %s - ModuleNotFoundError: No module named %r"
|
||||
|
||||
expected_dynamicattribute_pattern = """
|
||||
Help on class DA in module %s:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue