diff --git a/nbval/kernel.py b/nbval/kernel.py index b611442..b567a7f 100644 --- a/nbval/kernel.py +++ b/nbval/kernel.py @@ -145,7 +145,12 @@ def execute_cell_input(self, cell_input, allow_stdin=None): logger.debug('Executing cell: "%s"...', cell_input.splitlines()[0][:40]) else: logger.debug('Executing empty cell') - return self.kc.execute(cell_input, allow_stdin=allow_stdin, stop_on_error=False) + return self.kc.execute( + cell_input, + store_history=False, + allow_stdin=allow_stdin, + stop_on_error=False, + ) def await_reply(self, msg_id, timeout=None): """