We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e87ba37 commit f0818b6Copy full SHA for f0818b6
tests/test_io.py
@@ -29,17 +29,11 @@ def ctx():
29
30
@pytest.fixture()
31
async def iopub_thread(ctx):
32
- try:
33
- async with zmq_anyio.Socket(ctx.socket(zmq.PUB)) as pub:
34
- thread = IOPubThread(pub)
35
- thread.start()
36
-
37
- yield thread
+ async with zmq_anyio.Socket(ctx.socket(zmq.PUB)) as pub:
+ thread = IOPubThread(pub)
+ thread.start()
38
39
- thread.close()
40
- thread.stop()
41
- except Exception:
42
- pass
+ yield thread
43
44
45
async def test_io_api(iopub_thread):
0 commit comments