8000 gh-92886: make test_coroutines pass with -O (assertions off) (GH-98060) · python/cpython@45f2147 · GitHub
[go: up one dir, main page]

Skip to content

Commit 45f2147

Browse files
authored
gh-92886: make test_coroutines pass with -O (assertions off) (GH-98060)
Automerge-Triggered-By: GH:iritkatriel
1 parent 0f498f1 commit 45f2147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_coroutines.py

Lines changed: 1 addition & 1 deletion
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)
0