diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-10-08 04:07:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-08 04:07:09 (GMT) |
commit | 8d40fbe48bf58295c8053fce2119be989c1e8948 (patch) | |
tree | 263d5324a2bcd64c4a0c86edd107b962e33df9ab /Lib/test/test_coroutines.py | |
parent | 2090eeb46d4180174ff9f5552042095084563344 (diff) | |
download | cpython-8d40fbe48bf58295c8053fce2119be989c1e8948.zip cpython-8d40fbe48bf58295c8053fce2119be989c1e8948.tar.gz cpython-8d40fbe48bf58295c8053fce2119be989c1e8948.tar.bz2 |
gh-92886: make test_coroutines pass with -O (assertions off) (GH-98060)
Automerge-Triggered-By: GH:iritkatriel
(cherry picked from commit 45f21472daad3934baf364c3100063ecc51c6e04)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Diffstat (limited to 'Lib/test/test_coroutines.py')
-rw-r--r-- | Lib/test/test_coroutines.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_coroutines.py b/Lib/test/test_coroutines.py index a414a6f..acff245 100644 --- a/Lib/test/test_coroutines.py +++ b/Lib/test/test_coroutines.py @@ -1262,7 +1262,7 @@ class CoroutineTest(unittest.TestCase): async def func(): async with CM(): - assert (1, ) == 1 + self.assertEqual((1, ), 1) with self.assertRaises(AssertionError): run_async(func()) |