Ignore dip in branch coverage (since py3.13+ isn't tested in CI)

This commit is contained in:
Tyler Smart 2023-08-20 20:55:30 -06:00
parent 7a625481da
commit a357c7abc8
1 changed files with 3 additions and 0 deletions

View File

@ -551,6 +551,9 @@ class DoctestModule(Module):
# Type ignored because this is a private function.
return super()._from_module(module, object) # type: ignore[misc]
else: # pragma: no cover
pass
if self.path.name == "conftest.py":
module = self.config.pluginmanager._importconftest(
self.path,