mirror of
https://github.com/python/cpython.git
synced 2025-09-04 07:51:13 +00:00
Issue #3080: Use repr() to format the module name on error
This commit is contained in:
parent
ccbf475dfd
commit
98dbba5d20
3 changed files with 10 additions and 10 deletions
|
@ -190,7 +190,7 @@ war</tt></dd></dl>
|
|||
missing_pattern = "no Python documentation found for '%s'"
|
||||
|
||||
# output pattern for module with bad imports
|
||||
badimport_pattern = "problem in %s - ImportError: No module named %s"
|
||||
badimport_pattern = "problem in %s - ImportError: No module named %r"
|
||||
|
||||
def run_pydoc(module_name, *args):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue