Skip to content

Commit 252f6f8

Browse files
committed
Update replace deprecated use of getfuncargvalue to please new pytest versions
1 parent f53cd00 commit 252f6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pfwtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def check_injected_python_installed(request):
5151
if len(procparams) != 1:
5252
raise ValueError("Could not find the fixture name of the injected python")
5353
procparam = procparams[0]
54-
proc = request.getfuncargvalue(procparam)
54+
proc = request.getfixturevalue(procparam)
5555
if not python_is_installed[proc.bitness]:
5656
pytest.skip("Python {0}b not installed -> skipping test with python injection into {0}b process".format(proc.bitness))
5757
return None

0 commit comments

Comments
 (0)