Skip to content

Commit 5a79252

Browse files
committed
Revert "Skip testing resp3 parsing for async/py3.7", now that parsing is fixed.
This reverts commit 09b51d4.
1 parent 09b51d4 commit 5a79252

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

tests/test_asyncio/test_connect.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import logging
33
import socket
44
import ssl
5-
import sys
65
from unittest.mock import patch
76

87
import pytest
@@ -20,7 +19,6 @@
2019

2120

2221
_CLIENT_NAME = "test-suite-client"
23-
PY37 = sys.version_info[:2] == (3, 7)
2422

2523

2624
@pytest.fixture
@@ -79,15 +77,14 @@ async def test_tcp_ssl_connect(tcp_address):
7977
(6, 3, True, True),
8078
],
8179
)
80+
# @pytest.mark.parametrize("use_protocol", [2, 3])
81+
# @pytest.mark.parametrize("use_auth", [False, True])
8282
async def test_tcp_auth(
8383
tcp_address, use_protocol, use_auth, use_server_ver, use_client_name
8484
):
8585
"""
8686
Test that various initial handshake cases are handled correctly by the client
8787
"""
88-
if use_protocol == 3 and PY37:
89-
pytest.skip("Python 3.7 does not support protocol 3 for asyncio")
90-
9188
got_auth = []
9289
got_protocol = None
9390
got_name = None

tests/test_connect.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ def test_tcp_ssl_connect(tcp_address):
7575
(6, 3, True, True),
7676
],
7777
)
78+
# @pytest.mark.parametrize("use_protocol", [2, 3])
79+
# @pytest.mark.parametrize("use_auth", [False, True])
7880
def test_tcp_auth(tcp_address, use_protocol, use_auth, use_server_ver, use_client_name):
7981
"""
8082
Test that various initial handshake cases are handled correctly by the client

0 commit comments

Comments
 (0)