Skip to content

Commit

Permalink
unhelpful linter
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Oct 22, 2024
1 parent 64ff5d4 commit 53b2911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipykernel/iostream.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(self, socket, pipe=False):
self.socket: zmq.Socket[bytes] | None = zmq.Socket(socket)
if self.socket.context is None:
# bug in pyzmq, shadow socket doesn't always inherit context attribute
self.socket.context = socket.context
self.socket.context = socket.context # type:ignore[unreachable]
self._context = socket.context

self.background_socket = BackgroundSocket(self)
Expand Down

0 comments on commit 53b2911

Please sign in to comment.