mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
scope=session?
This commit is contained in:
parent
812a79481c
commit
853243caae
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ def pytest_configure(config):
|
|||
config.addinivalue_line("markers", "mongo: marked tests require mongo connection to run")
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
@pytest.fixture(scope="session")
|
||||
def event_loop_policy(request):
|
||||
if sys.platform == "win32":
|
||||
return asyncio.WindowsSelectorEventLoopPolicy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue