From 872b24aeddd48a05991eef7a652a9b50340c6798 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 3 Dec 2021 14:49:08 -0500 Subject: [PATCH] Prove we've fixed #265 --- tests/test_context_streams.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_context_streams.py b/tests/test_context_streams.py index b6e2a8c..e1d4de4 100644 --- a/tests/test_context_streams.py +++ b/tests/test_context_streams.py @@ -79,4 +79,9 @@ def test_no_far_end_stream_opened(): # message which is sent from that call? await stream.send('yo') + # without this we block waiting on the child side + await ctx.cancel() + + await portal.cancel_actor() + trio.run(main)