skip test without generating warning
This commit is contained in:
parent
314e4eb480
commit
5c67f03b0e
@ -4290,12 +4290,10 @@ def test_makeARGB_against_generated_references():
|
||||
_do_something_for_every_combo(assert_correct)
|
||||
|
||||
|
||||
@pytest.mark.skipif(getCupy() is None, reason="CuPy unavailable to test")
|
||||
def test_cupy_makeARGB_against_generated_references():
|
||||
setConfigOption("useCupy", True)
|
||||
cp = getCupy()
|
||||
if cp is None:
|
||||
pytest.skip("CuPy unavailable to test")
|
||||
|
||||
def assert_cupy_correct(data, key, levels, lut, scale, use_rgba):
|
||||
data = cp.asarray(data)
|
||||
if lut is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user