@@ -87,7 +87,7 @@ async def test_warns():
87
87
"""
88
88
)
89
89
)
90
- result = pytester .runpytest_subprocess ("--asyncio-mode=strict" )
90
+ result = pytester .runpytest ("--asyncio-mode=strict" , "--assert=plain " )
91
91
result .assert_outcomes (passed = 1 , warnings = 1 )
92
92
result .stdout .fnmatch_lines ("*DeprecationWarning*" )
93
93
@@ -157,7 +157,7 @@ async def test_parametrized_loop():
157
157
"""
158
158
)
159
159
)
160
- result = pytester .runpytest_subprocess ("--asyncio-mode=strict" )
160
+ result = pytester .runpytest ("--asyncio-mode=strict" )
161
161
result .assert_outcomes (passed = 2 )
162
162
163
163
@@ -188,7 +188,7 @@ async def test_runs_is_same_loop_as_fixture(my_fixture):
188
188
"""
189
189
)
190
190
)
191
- result = pytester .runpytest_subprocess ("--asyncio-mode=strict" )
191
+ result = pytester .runpytest ("--asyncio-mode=strict" )
192
192
result .assert_outcomes (passed = 1 )
193
193
194
194
@@ -242,7 +242,7 @@ async def test_anything():
242
242
"""
243
243
)
244
244
)
245
- result = pytester .runpytest_subprocess ("--asyncio-mode=strict" )
245
+ result = pytester .runpytest ("--asyncio-mode=strict" , "--assert=plain " )
246
246
result .assert_outcomes (warnings = 0 , passed = 1 )
247
247
248
248
@@ -274,5 +274,5 @@ async def test_markers_not_duplicated(request):
274
274
"""
275
275
)
276
276
)
277
- result = pytester .runpytest_subprocess ("--asyncio-mode=auto" )
277
+ result = pytester .runpytest ("--asyncio-mode=auto" , "--assert=plain " )
278
278
result .assert_outcomes (warnings = 0 , passed = 1 )
0 commit comments