Remove empty else block (implicit is better than explicit).

This commit is contained in:
Jason R. Coombs 2024-06-06 11:26:27 -04:00
parent bc05366549
commit 5187869cfb
No known key found for this signature in database
GPG Key ID: 708E6CB181B4C47E
1 changed files with 0 additions and 3 deletions

View File

@ -559,9 +559,6 @@ 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
try:
module = self.obj
except Collector.CollectError: