]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-23819: Get rid of assert statements in test_asyncio (GH-30212)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 20 Dec 2021 10:23:05 +0000 (12:23 +0200)
committerGitHub <noreply@github.com>
Mon, 20 Dec 2021 10:23:05 +0000 (12:23 +0200)
commit6ca78affc8023bc5023189d64d8050857662042a
treee6cae1875586d1c722005311492b4126707d9a2e
parent7c5c3f7254d78babcaf7a2ec187fd6ec53b8403c
bpo-23819: Get rid of assert statements in test_asyncio (GH-30212)

To keep checks even if run tests with optimized Python.

Either use special assertion methods like assertEqual() or
raise an AssertionError explicitly.
Lib/test/test_asyncio/test_base_events.py
Lib/test/test_asyncio/test_events.py
Lib/test/test_asyncio/test_futures.py
Lib/test/test_asyncio/test_sendfile.py
Lib/test/test_asyncio/test_sock_lowlevel.py
Lib/test/test_asyncio/test_sslproto.py
Lib/test/test_asyncio/test_streams.py
Lib/test/test_asyncio/test_tasks.py
Lib/test/test_asyncio/test_unix_events.py
Lib/test/test_asyncio/utils.py