[issue28249] doctest.DocTestFinder reports incorrect line numbers with exclude_empty=False

2022-01-09 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5 ___ Python tracker ___

[issue28249] doctest.DocTestFinder reports incorrect line numbers with exclude_empty=False

2022-01-09 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch nosy: +sobolevn nosy_count: 2.0 -> 3.0 pull_requests: +28704 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30498 ___ Python tracker

[issue28249] doctest.DocTestFinder reports incorrect line numbers with exclude_empty=False

2019-12-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28249] doctest.DocTestFinder reports incorrect line numbers with exclude_empty=False

2016-09-22 Thread Clément
New submission from Clément: Line numbers reported by the doctest module are wrong when a function does not include a docstring. With the attached example file, running python -c "import doctest, example; print(doctest.DocTestFinder(exclude_empty=False).find(example))" produces [,