Skip to content

Commit a357c7a

Browse files
committed
Ignore dip in branch coverage (since py3.13+ isn't tested in CI)
1 parent 7a62548 commit a357c7a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/_pytest/doctest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,9 @@ def _from_module(self, module, object):
551551
# Type ignored because this is a private function.
552552
return super()._from_module(module, object) # type: ignore[misc]
553553

554+
else: # pragma: no cover
555+
pass
556+
554557
if self.path.name == "conftest.py":
555558
module = self.config.pluginmanager._importconftest(
556559
self.path,

0 commit comments

Comments
 (0)