mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-26 20:13:40 +03:00
Merge pull request #7668 from radarhere/numpy
Removed unnecessary "pragma: no cover"
This commit is contained in:
commit
4c174e2379
|
@ -396,7 +396,7 @@ class Color3DLUT(MultibandFilter):
|
||||||
if hasattr(table, "shape"):
|
if hasattr(table, "shape"):
|
||||||
try:
|
try:
|
||||||
import numpy
|
import numpy
|
||||||
except ImportError: # pragma: no cover
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if numpy and isinstance(table, numpy.ndarray):
|
if numpy and isinstance(table, numpy.ndarray):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user