Skip to content

Commit d765b64

Browse files
committed
test: Run test for shared module fixture in separate subprocess to prevent resource warnings on Python 3.8 and pytest 7.0.0.
1 parent 25fdead commit d765b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/async_fixtures/test_shared_module_fixture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ async def test_shared_module_fixture_use_b(async_shared_module_fixture):
3131
"""
3232
),
3333
)
34-
result = pytester.runpytest("--asyncio-mode=strict")
34+
result = pytester.runpytest_subprocess("--asyncio-mode=strict")
3535
result.assert_outcomes(passed=2)

0 commit comments

Comments
 (0)