Skip to content

Commit

Permalink
Merge pull request #7668 from radarhere/numpy
Browse files Browse the repository at this point in the history
Removed unnecessary "pragma: no cover"
  • Loading branch information
hugovk committed Jan 1, 2024
2 parents 2aa08a5 + 8422af2 commit 4c174e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/ImageFilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def __init__(self, size, table, channels=3, target_mode=None, **kwargs):
if hasattr(table, "shape"):
try:
import numpy
except ImportError: # pragma: no cover
except ImportError:
pass

if numpy and isinstance(table, numpy.ndarray):
Expand Down

0 comments on commit 4c174e2

Please sign in to comment.