mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
[test] yield_fixture is deprecated
This commit is contained in:
parent
96b3d83849
commit
7133ffc1a0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue