Remove empty else block (implicit is better than explicit).
This commit is contained in:
parent
bc05366549
commit
5187869cfb
|
@ -559,9 +559,6 @@ class DoctestModule(Module):
|
||||||
# Type ignored because this is a private function.
|
# Type ignored because this is a private function.
|
||||||
return super()._from_module(module, object) # type: ignore[misc]
|
return super()._from_module(module, object) # type: ignore[misc]
|
||||||
|
|
||||||
else: # pragma: no cover
|
|
||||||
pass
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
module = self.obj
|
module = self.obj
|
||||||
except Collector.CollectError:
|
except Collector.CollectError:
|
||||||
|
|
Loading…
Reference in New Issue