Skip to content
Snippets Groups Projects
Commit 7ec058c4 authored by Bas Nijholt's avatar Bas Nijholt
Browse files

test private attribute used in 'live_info'

parent 243561d6
Branches
No related tags found
No related merge requests found
Checking pipeline status
This commit is part of merge request !108. Comments created here will be created in the context of that merge request.
# -*- coding: utf-8 -*-
import ipykernel
import zmq
def test_private_api_used_in_live_info():
"""We are catching all errors in
adaptive.notebook_integration.should_update
so if ipykernel changed its API it would happen unnoticed."""
ctx = zmq.Context()
iopub_socket = ctx.socket(zmq.PUB)
iopub_thread = ipykernel.iostream.IOPubThread(iopub_socket)
assert hasattr(iopub_thread, '_events')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment