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
self, tests, obj, name, module, source_lines, globs, seen
) ->None:
if_is_mocked(obj):
return
with_patch_unwrap_mock_aware():
# Type ignored because this is a private function.
super()._find( # type:ignore[misc]
tests, obj, name, module, source_lines, globs, seen
)
Perhaps the comments in the class are related. Indeed, looking at where that method was introduced (a6988aa), it's associated with the docstring in the class.
It appears that the tests all pass with the method removed on Python 3.10 and later.
Activity
Cleanup MockAwareDocTestFinder. (pytest-dev#12431)