We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 552a745 commit 7a8586aCopy full SHA for 7a8586a
tests/async_fixtures/test_shared_module_fixture.py
@@ -4,12 +4,13 @@
4
5
6
def test_asyncio_mark_provides_package_scoped_loop_strict_mode(pytester: Pytester):
7
+ pytester.makeini("[pytest]\nasyncio_default_fixture_loop_scope = function")
8
pytester.makepyfile(
9
__init__="",
10
conftest=dedent(
11
"""\
12
import pytest_asyncio
- @pytest_asyncio.fixture(scope="module")
13
+ @pytest_asyncio.fixture(loop_scope="module", scope="module")
14
async def async_shared_module_fixture():
15
return True
16
"""
0 commit comments