gh-115392: Fix doctest reporting incorrect line numbers for decorated functions by brianschubert · Pull Request #115440 · python/cpython

@brianschubert

@brianschubert

AlexWaygood

sobolevn

@brianschubert

AlexWaygood

sobolevn

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Feb 14, 2024
…orated functions (pythonGH-115440)

(cherry picked from commit bb791c7)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Feb 14, 2024
…orated functions (pythonGH-115440)

(cherry picked from commit bb791c7)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>

AlexWaygood pushed a commit that referenced this pull request

Feb 14, 2024
…corated functions (GH-115440) (#115458)

gh-115392: Fix doctest reporting incorrect line numbers for decorated functions (GH-115440)
(cherry picked from commit bb791c7)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>

AlexWaygood pushed a commit that referenced this pull request

Feb 14, 2024
…corated functions (GH-115440) (#115459)

gh-115392: Fix doctest reporting incorrect line numbers for decorated functions (GH-115440)
(cherry picked from commit bb791c7)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>

lpsinger added a commit to lpsinger/pytest-doctestplus that referenced this pull request

Apr 9, 2024
This is known to fail on Python 3.11.9 because `--doctest-ufunc`
was broken for wrapped ufuncs without docstrings by
python/cpython#115440.