From 252f6f8efa76e23ea394c096cc195483645dda44 Mon Sep 17 00:00:00 2001 From: hakril Date: Thu, 3 Jan 2019 22:32:19 +0100 Subject: [PATCH] Update replace deprecated use of getfuncargvalue to please new pytest versions --- tests/pfwtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pfwtest.py b/tests/pfwtest.py index 5214fcb..4fa95e9 100644 --- a/tests/pfwtest.py +++ b/tests/pfwtest.py @@ -51,7 +51,7 @@ def check_injected_python_installed(request): if len(procparams) != 1: raise ValueError("Could not find the fixture name of the injected python") procparam = procparams[0] - proc = request.getfuncargvalue(procparam) + proc = request.getfixturevalue(procparam) if not python_is_installed[proc.bitness]: pytest.skip("Python {0}b not installed -> skipping test with python injection into {0}b process".format(proc.bitness)) return None