mirror of
https://github.com/lilydjwg/nvchecker
synced 2025-02-17 11:07:27 +00:00
[test] yield_fixture is deprecated
This commit is contained in:
parent
96b3d83849
commit
7133ffc1a0
@ -17,7 +17,7 @@ async def get_version():
|
||||
|
||||
return __call__
|
||||
|
||||
@pytest.yield_fixture(scope="module")
|
||||
@pytest.fixture(scope="module")
|
||||
def event_loop(request):
|
||||
"""Override pytest-asyncio's event_loop fixture,
|
||||
Don't create an instance of the default event loop for each test case.
|
||||
|
Loading…
Reference in New Issue
Block a user