diff --git a/test/test_wrapper.py b/test/test_wrapper.py index f68b585154938638afc2e8e11e20046072689781..dc80bcdfd7541ad1f5d0306982f8cee8c6781ccf 100644 --- a/test/test_wrapper.py +++ b/test/test_wrapper.py @@ -253,6 +253,9 @@ class TestCL: def pytest_generate_tests(metafunc): if have_cl(): import pyopencl as cl + else: + # will still show "skipped" messages + return if ("device" in metafunc.funcargnames or "context" in metafunc.funcargnames):