Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Sep 22, 2023
1 parent 74d6bc5 commit 2d90a8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/aio/test_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# limitations under the License
import http.server
import socketserver
import sys
import threading
import time
import traceback
Expand Down Expand Up @@ -50,6 +51,8 @@ def get_http_server(server_class=SERVER_CLASS, server_address=SERVER_ADDRESS,
return httpd


@pytest.mark.skipif(sys.version_info < (3, 8),
reason="the test requires Python 3.8 or higher")
@pytest.mark.asyncio
async def test_retry_on_request_timeout():
timeout = aiohttp.ClientTimeout(connect=1, sock_read=1)
Expand Down

0 comments on commit 2d90a8f

Please sign in to comment.