Skip to content

Commit

Permalink
test: no cover
Browse files Browse the repository at this point in the history
Signed-off-by: nstarman <[email protected]>
  • Loading branch information
nstarman committed Sep 10, 2024
1 parent 44e6d11 commit 60d72a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/optional_dependencies/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def is_installed(pkg_name: str, /) -> bool:
"""
try:
spec = importlib.util.find_spec(pkg_name)
except ModuleNotFoundError:
except ModuleNotFoundError: # pragma: no cover
return False
return spec is not None

Expand Down

0 comments on commit 60d72a1

Please sign in to comment.