Skip to content

Commit dcbae74

Browse files
iritkatrielmpage
authored andcommitted
pythongh-92886: make test_coroutines pass with -O (assertions off) (pythonGH-98060)
Automerge-Triggered-By: GH:iritkatriel
1 parent c42b931 commit dcbae74

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
@@ -1287,7 +1287,7 @@ async def __aexit__(self, *exc):
12871287

12881288
async def func():
12891289
async with CM():
1290-
assert (1, ) == 1
1290+
self.assertEqual((1, ), 1)
12911291

12921292
with self.assertRaises(AssertionError):
12931293
run_async(func())

0 commit comments

Comments
 (0)