Update replace deprecated use of getfuncargvalue to please new pytest versions

This commit is contained in:
hakril
2019-01-03 22:32:19 +01:00
parent f53cd00bc4
commit 252f6f8efa
+1 -1
View File
@@ -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