Skip to content

Commit cdff477

Browse files
committed
Cleanup
1 parent a124c50 commit cdff477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbval/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ def runtest(self):
580580

581581
# Poll the shell channel to get a message
582582
try:
583-
self.parent.kernel.await_reply(msg_id, timeout=timeout)
583+
kernel.await_reply(msg_id, timeout=timeout)
584584
except Empty: # Timeout reached
585585
# Try to interrupt kernel, as this will give us traceback:
586586
kernel.interrupt()

0 commit comments

Comments
 (0)