diff --git a/pyopencl/tools.py b/pyopencl/tools.py index 9dce9216e5df9465557d94dbb35331582479bde4..2a2d0f9d061d6f74c38dc07a4341fbf8081d463d 100644 --- a/pyopencl/tools.py +++ b/pyopencl/tools.py @@ -254,7 +254,7 @@ def pytest_generate_tests_for_pyopencl(metafunc): arg_names = [] for arg in ("platform", "device", "ctx_factory", "ctx_getter"): - if arg not in metafunc.funcargnames: + if arg not in metafunc.fixturenames: continue if arg == "ctx_getter":