Skip to content

Commit

Permalink
fix tests on 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Jan 21, 2022
1 parent e6ffb99 commit 4ae59f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@


@pytest.fixture(name='loop')
def _fix_loop():
try:
loop = asyncio.get_event_loop()
except RuntimeError:
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
return loop
def _fix_loop(event_loop):
asyncio.set_event_loop(event_loop)
return event_loop


@pytest.fixture(name='aws')
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aiohttp==3.7.4
aiohttp==3.8.1
foxglove-web==0.0.36
pillow==9.0.0
coverage==6.2
Expand Down

0 comments on commit 4ae59f2

Please sign in to comment.