Merge pull request #7668 from radarhere/numpy

Removed unnecessary "pragma: no cover"
This commit is contained in:
Hugo van Kemenade 2024-01-01 10:00:56 +02:00 committed by GitHub
commit 4c174e2379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -396,7 +396,7 @@ class Color3DLUT(MultibandFilter):
if hasattr(table, "shape"):
try:
import numpy
except ImportError: # pragma: no cover
except ImportError:
pass
if numpy and isinstance(table, numpy.ndarray):