Skip to content

Commit 6c12316

Browse files
committed
make sure iopub thread is started in test
stop closes the event puller socket, but only if start was called
1 parent d8a6f29 commit 6c12316

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ipykernel/tests/test_io.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def subprocess_test_echo_watch():
123123
with zmq.Context() as ctx, ctx.socket(zmq.PUSH) as pub:
124124
pub.connect(os.environ["IOPUB_URL"])
125125
iopub_thread = IOPubThread(pub)
126+
iopub_thread.start()
126127
stdout_fd = sys.stdout.fileno()
127128
sys.stdout.flush()
128129
stream = OutStream(

0 commit comments

Comments
 (0)