@@ -17,7 +17,7 @@ def test_a():
1717 """
1818 )
1919 )
20- result = pytester .runpytest_subprocess ("--asyncio-mode=strict" , "-W default" )
20+ result = pytester .runpytest ("--asyncio-mode=strict" , "-W default" )
2121 result .assert_outcomes (passed = 1 )
2222 result .stdout .fnmatch_lines (
2323 ["*is marked with '@pytest.mark.asyncio' but it is not an async function.*" ]
@@ -38,7 +38,7 @@ async def test_a():
3838 """
3939 )
4040 )
41- result = pytester .runpytest_subprocess ("--asyncio-mode=strict" , "-W default" )
41+ result = pytester .runpytest ("--asyncio-mode=strict" , "-W default" )
4242 result .assert_outcomes (xfailed = 1 , warnings = 1 )
4343 result .stdout .fnmatch_lines (
4444 ["*Tests based on asynchronous generators are not supported*" ]
@@ -56,7 +56,7 @@ async def test_a():
5656 """
5757 )
5858 )
59- result = pytester .runpytest_subprocess ("--asyncio-mode=auto" , "-W default" )
59+ result = pytester .runpytest ("--asyncio-mode=auto" , "-W default" )
6060 result .assert_outcomes (xfailed = 1 , warnings = 1 )
6161 result .stdout .fnmatch_lines (
6262 ["*Tests based on asynchronous generators are not supported*" ]
@@ -78,7 +78,7 @@ async def test_a(self):
7878 """
7979 )
8080 )
81- result = pytester .runpytest_subprocess ("--asyncio-mode=strict" , "-W default" )
81+ result = pytester .runpytest ("--asyncio-mode=strict" , "-W default" )
8282 result .assert_outcomes (xfailed = 1 , warnings = 1 )
8383 result .stdout .fnmatch_lines (
8484 ["*Tests based on asynchronous generators are not supported*" ]
@@ -98,7 +98,7 @@ async def test_a():
9898 """
9999 )
100100 )
101- result = pytester .runpytest_subprocess ("--asyncio-mode=auto" , "-W default" )
101+ result = pytester .runpytest ("--asyncio-mode=auto" , "-W default" )
102102 result .assert_outcomes (xfailed = 1 , warnings = 1 )
103103 result .stdout .fnmatch_lines (
104104 ["*Tests based on asynchronous generators are not supported*" ]
@@ -121,7 +121,7 @@ async def test_a():
121121 """
122122 )
123123 )
124- result = pytester .runpytest_subprocess ("--asyncio-mode=strict" , "-W default" )
124+ result = pytester .runpytest ("--asyncio-mode=strict" , "-W default" )
125125 result .assert_outcomes (xfailed = 1 , warnings = 1 )
126126 result .stdout .fnmatch_lines (
127127 ["*Tests based on asynchronous generators are not supported*" ]
@@ -141,7 +141,7 @@ async def test_a():
141141 """
142142 )
143143 )
144- result = pytester .runpytest_subprocess ("--asyncio-mode=auto" , "-W default" )
144+ result = pytester .runpytest ("--asyncio-mode=auto" , "-W default" )
145145 result .assert_outcomes (xfailed = 1 , warnings = 1 )
146146 result .stdout .fnmatch_lines (
147147 ["*Tests based on asynchronous generators are not supported*" ]
0 commit comments