From bc0536654921f840434d41d2a624a469ab975463 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Thu, 6 Jun 2024 11:22:59 -0400 Subject: [PATCH] Mark line as uncovered. --- src/_pytest/doctest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/doctest.py b/src/_pytest/doctest.py index 475df507a..4eb2c1991 100644 --- a/src/_pytest/doctest.py +++ b/src/_pytest/doctest.py @@ -538,7 +538,7 @@ class DoctestModule(Module): https://github.com/python/cpython/issues/69718 """ if _is_mocked(obj): - return + return # pragma: no cover with _patch_unwrap_mock_aware(): # Type ignored because this is a private function. super()._find( # type:ignore[misc]