Skip to content

Commit 2a168e5

Browse files
committed
fixes tests
1 parent 568a2ce commit 2a168e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/extract/test_extract_pipe.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -716,8 +716,7 @@ async def long_gen():
716716
await asyncio.sleep(0.01)
717717
yield i
718718
close_pipe_yielding = False
719-
# we have a different exception here
720-
except asyncio.CancelledError:
719+
except GeneratorExit:
721720
close_pipe_got_exit = True
722721

723722
# execute in a thread

0 commit comments

Comments
 (0)