Skip to content

Commit

Permalink
Removed unnecessary "pragma: no cover"
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jan 1, 2024
1 parent d6fd4c9 commit 8422af2
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 8422af2

Please sign in to comment.