Skip to content

Commit

Permalink
Fix for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Oct 2, 2023
1 parent 5d50669 commit a09b2ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/services/test_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ def test_same_client_id(mocked_distribution, mocked_requests):
assert result1 == result2


MOCKED_AIOHTTP = mock.AsyncMock()
MOCKED_AIOHTTP = None
if not sys.version_info < (3, 8):
MOCKED_AIOHTTP = mock.AsyncMock()


@pytest.mark.skipif(sys.version_info < (3, 8),
Expand Down

0 comments on commit a09b2ff

Please sign in to comment.