You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Doctest] Doctest inspect unwrap passing func to _stop instead of obj #9778
plugin: doctestsrelated to the doctests builtin plugintype: regressionindicates a problem that was introduced in a release which was working previously
plugin: doctestsrelated to the doctests builtin plugintype: regressionindicates a problem that was introduced in a release which was working previously
Activity
Zac-HD commentedon Mar 20, 2022
Ooh, that looks like a tricky scoping issue... not sure we ever intended to support the use-case you're relying on, but it's bad that we broke it.
Can you provide a minimal example of a test that worked before this change but not afterwards, so we can check that any proposed fix really works?
RonnyPfannschmidt commentedon Mar 22, 2022
it does look like a unintentional change howerver
doctest: drop the inspect.unwrap monkeypatch
RonnyPfannschmidt commentedon Nov 28, 2026
🤖 Written by Claude Opus 5.5 via Claude Code for the pytest maintainers; I prompted it, it did the work, I read it.
Closing as no longer applicable, see #15475 (comment): the affected helper has had no caller on supported Pythons since 9.0, and #15420 removes it.
Generated by Claude Code