[issue4657] Doctest gets line numbers wrongs with <> in name

Irit Katriel report at bugs.python.org
Sun Nov 22 07:45:37 EST 2020


Irit Katriel <iritkatriel at yahoo.com> added the comment:

I tested on 3.10 (macos) and can confirm that it is fixed. 

Details: I changed _run_object_doctest as Nick explained, and made it display the output of the finder.find() call - the line number was the same with and without the <>s.

----------
nosy: +iritkatriel
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue4657>
_______________________________________


More information about the Python-bugs-list mailing list