diff --git a/testing/plugin/test_pytest_capture.py b/testing/plugin/test_pytest_capture.py index f5015db58..bb8e8f440 100644 --- a/testing/plugin/test_pytest_capture.py +++ b/testing/plugin/test_pytest_capture.py @@ -358,7 +358,7 @@ class TestCaptureFuncarg: def test_partial_setup_failure(self, testdir): p = testdir.makepyfile(""" - def test_hello(capfd, missingarg): + def test_hello(capsys, missingarg): pass """) result = testdir.runpytest(p)