Skip to content

Commit 4c174e2

Browse files
authored
Merge pull request #7668 from radarhere/numpy
Removed unnecessary "pragma: no cover"
2 parents 2aa08a5 + 8422af2 commit 4c174e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PIL/ImageFilter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def __init__(self, size, table, channels=3, target_mode=None, **kwargs):
396396
if hasattr(table, "shape"):
397397
try:
398398
import numpy
399-
except ImportError: # pragma: no cover
399+
except ImportError:
400400
pass
401401

402402
if numpy and isinstance(table, numpy.ndarray):

0 commit comments

Comments
 (0)