Skip to content

Commit c8c7b62

Browse files
committed
Don't check thread used by inprocess kernel
1 parent c900f77 commit c8c7b62

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ipykernel/kernelbase.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,6 @@ async def dispatch_shell(self, msg, /, stream=None, subshell_id: str | None = No
371371
self.control_thread,
372372
self.shell_channel_thread,
373373
)
374-
else:
375-
assert threading.current_thread() == threading.main_thread()
376374

377375
idents, msg = self.session.feed_identities(msg, copy=False)
378376
try:

0 commit comments

Comments
 (0)