mirror of
https://github.com/python/cpython.git
synced 2025-10-02 21:25:24 +00:00
gh-92886: make test_coroutines pass with -O (assertions off) (GH-98060)
Automerge-Triggered-By: GH:iritkatriel
This commit is contained in:
parent
0f498f1a95
commit
45f21472da
1 changed files with 1 additions and 1 deletions
|
@ -1287,7 +1287,7 @@ class CoroutineTest(unittest.TestCase):
|
||||||
|
|
||||||
async def func():
|
async def func():
|
||||||
async with CM():
|
async with CM():
|
||||||
assert (1, ) == 1
|
self.assertEqual((1, ), 1)
|
||||||
|
|
||||||
with self.assertRaises(AssertionError):
|
with self.assertRaises(AssertionError):
|
||||||
run_async(func())
|
run_async(func())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue