[7.x] Start testing on Python 3.10

Co-authored-by: Seth Michael Larson <[email protected]>
This commit is contained in:
github-actions[bot]
2021-06-07 13:30:04 -05:00
committed by GitHub
co-authored by Seth Michael Larson
parent ce6be4cd98
commit 1787f64d02
6 changed files with 52 additions and 13 deletions
@@ -265,7 +265,7 @@ class TestAIOHttpConnection:
use_ssl=True, verify_certs=False, ssl_show_warn=False
)
await con._create_aiohttp_session()
assert 0 == len(w)
assert w == []
assert isinstance(con.session, aiohttp.ClientSession)
@@ -277,7 +277,7 @@ class TestAIOHttpConnection:
ctx = ssl.create_default_context()
with warnings.catch_warnings(record=True) as w:
AIOHttpConnection(ssl_context=ctx)
assert 0 == len(w), str([x.message for x in w])
assert w == [], str([x.message for x in w])
def test_warns_if_using_non_default_ssl_kwargs_with_ssl_context(self):
for kwargs in (