Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
Try to upgrade to pytest-asyncio 0.23.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ramnes committed Dec 18, 2023
1 parent 8827f6d commit ceb5817
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ class Item(AsyncThingy):
pass


# this is required for async session scoped fixtures
@pytest.fixture(scope="session")
def event_loop():
loop = asyncio.get_event_loop_policy().new_event_loop()
yield loop
loop.close()


@pytest.fixture(autouse=True, scope="session")
async def database():
connect(
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest==7.4.3
pytest-asyncio==0.21.1
pytest-asyncio==0.23.2
motor==3.3.2
Mongo-Thingy==0.17.1

0 comments on commit ceb5817

Please sign in to comment.