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).
Showing
Please
register
or
sign in
to comment
Write the module name rather than <module> in the error message, if module has no __file__ attribute (ex: package).