From cf3bc55216968acc290306b8f0171030289024da Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 1 Jul 2019 13:37:55 +0200 Subject: [PATCH] Pytest: track rename funcargnames -> fixturenames (Closes #17 on Gitlab) --- pyopencl/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyopencl/tools.py b/pyopencl/tools.py index 9dce9216..2a2d0f9d 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": -- GitLab