]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
doctest: fix _module_relative_path() error message
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 25 Mar 2016 11:50:36 +0000 (12:50 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 25 Mar 2016 11:50:36 +0000 (12:50 +0100)
commit84ca9fe14533d7fca2cf5c18d3cba3e72c8204ae
tree834fe088798ee75d48dac5e95cb4771b72f4e6af
parent8a208510104a0ac5a34240ae4329b881ffcee998
doctest: fix _module_relative_path() error message

Write the module name rather than <module> in the error message, if module has
no __file__ attribute (ex: package).
Lib/doctest.py