summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-10-07 23:12:28 (GMT)
committerGitHub <noreply@github.com>2022-10-07 23:12:28 (GMT)
commit45f21472daad3934baf364c3100063ecc51c6e04 (patch)
tree3aed152a15fded0e3938dc68387b814903f94630
parent0f498f1a95306995ca1e287f552c5c3d856be02d (diff)
downloadcpython-45f21472daad3934baf364c3100063ecc51c6e04.zip
cpython-45f21472daad3934baf364c3100063ecc51c6e04.tar.gz
cpython-45f21472daad3934baf364c3100063ecc51c6e04.tar.bz2
gh-92886: make test_coroutines pass with -O (assertions off) (GH-98060)
Automerge-Triggered-By: GH:iritkatriel
-rw-r--r--Lib/test/test_coroutines.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_coroutines.py b/Lib/test/test_coroutines.py
index 9a2279d..f91c9cc 100644
--- a/Lib/test/test_coroutines.py
+++ b/Lib/test/test_coroutines.py
@@ -1287,7 +1287,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())