Skip to content

Commit

Permalink
make sure iopub thread is started in test
Browse files Browse the repository at this point in the history
stop closes the event puller socket, but only if start was called
  • Loading branch information
minrk committed May 8, 2023
1 parent d8a6f29 commit 6c12316
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ipykernel/tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ def subprocess_test_echo_watch():
with zmq.Context() as ctx, ctx.socket(zmq.PUSH) as pub:
pub.connect(os.environ["IOPUB_URL"])
iopub_thread = IOPubThread(pub)
iopub_thread.start()
stdout_fd = sys.stdout.fileno()
sys.stdout.flush()
stream = OutStream(
Expand Down

0 comments on commit 6c12316

Please sign in to comment.