Skip to content

Commit 72a23d8

Browse files
gh-92886: make test_coroutines pass with -O (assertions off) (GH-98060)
Automerge-Triggered-By: GH:iritkatriel (cherry picked from commit 45f2147) Co-authored-by: Irit Katriel <[email protected]>
1 parent 1573211 commit 72a23d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_coroutines.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ async def __aexit__(self, *exc):
12801280

12811281
async def func():
12821282
async with CM():
1283-
assert (1, ) == 1
1283+
self.assertEqual((1, ), 1)
12841284

12851285
with self.assertRaises(AssertionError):
12861286
run_async(func())

0 commit comments

Comments
 (0)