8000 [3.11] gh-92886: make test_coroutines pass with -O (assertions off) (GH-98060) by miss-islington · Pull Request #98073 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.11] gh-92886: make test_coroutines pass with -O (assertions off) (GH-98060) #98073

8000
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
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 <1055913+iritkatriel@users.noreply.github.com>
  • Loading branch information
iritkatriel authored and miss-islington committed Oct 7, 2022
commit 947ea7f65b075047fd68091fdeaa0fac2e37e893
2 changes: 1 addition & 1 deletion Lib/test/test_coroutines.py
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ async def __aexit__(self, *exc):

async def func():
async with CM():
assert (1, ) == 1
self.assertEqual((1, ), 1)

with self.assertRaises(AssertionError):
run_async(func())
Expand Down
0