From 7c5839e8e106097f9209e99561019c07158f9846 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Fri, 21 Jan 2022 15:50:07 +0200 Subject: [PATCH] Use inplace pytester --- tests/test_simple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_simple.py b/tests/test_simple.py index 2fc8656a..dc68d61e 100644 --- a/tests/test_simple.py +++ b/tests/test_simple.py @@ -268,7 +268,7 @@ def test_a(): """ ), ) - result = testdir.runpytest_subprocess() + result = testdir.runpytest() result.assert_outcomes(passed=1) result.stdout.fnmatch_lines( ["*is marked with '@pytest.mark.asyncio' but it is not an async function.*"]