gh-92886: make test_coroutines pass with -O (assertions off) (GH-98060)


Automerge-Triggered-By: GH:iritkatriel
(cherry picked from commit 45f21472daad3934baf364c3100063ecc51c6e04)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
1 file changed