Skip to content

Commit 6315d76

Browse files
Fix tests (#983)
1 parent a081f66 commit 6315d76

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ jobs:
6868
python -m build
6969
twine check dist/*
7070
- name: Upload coverage
71-
uses: codecov/codecov-action@v3
71+
uses: codecov/codecov-action@v4
7272
with:
7373
fail_ci_if_error: true
74+
token: ${{ secrets.CODECOV_TOKEN }}
7475

7576
check: # This job does nothing and is only used for the branch protection
7677
if: always()

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
aiohttp==3.9.1
33
aiomcache==0.8.1
44
cryptography==41.0.7
5-
docker==6.1.3
5+
docker==7.1.0
66
multidict==6.0.4
77
pynacl==1.5.0
88
pytest==7.4.3

tests/conftest.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,6 @@ def unused_port() -> int: # pragma: no cover
3535
return port
3636

3737

38-
@pytest.fixture(scope="session")
39-
def event_loop() -> Iterator[asyncio.AbstractEventLoop]:
40-
"""Redefine event_loop with session scope (from pytest-asyncio)."""
41-
policy = asyncio.get_event_loop_policy()
42-
loop = policy.new_event_loop()
43-
yield loop
44-
loop.close()
45-
46-
4738
@pytest.fixture(scope="session")
4839
def session_id() -> str:
4940
"""Unique session identifier, random string."""

0 commit comments

Comments
 (0)