Skip to content

Commit 549f387

Browse files
committed
Remove unwanted assert
1 parent 230d5b6 commit 549f387

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ipykernel/kernelbase.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,6 @@ async def shell_main(self, subshell_id: str | None, msg):
603603
)
604604
else:
605605
assert subshell_id is None
606-
assert threading.current_thread() == self.shell_channel_thread.parent_thread
607606
asyncio_lock = self._main_asyncio_lock
608607

609608
# Whilst executing a shell message, do not accept any other shell messages on the

0 commit comments

Comments
 (0)