Issue #3080: Use repr() to format the module name on error

This commit is contained in:
Victor Stinner 2011-03-14 15:15:47 -04:00
parent ccbf475dfd
commit 98dbba5d20
3 changed files with 10 additions and 10 deletions

View file

@ -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):
"""