---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
<ipython-input-19-b1c77381ffda> in <module>
1 # nbdev_test_nbs("test.ipynb")
----> 2 nbdev_test_nbs()
<ipython-input-16-3e7a1b620eb4> in nbdev_test_nbs(fname, flags, n_workers, verbose, timing, pause)
18 os.chdir(Config().path("nbs_path"))
19 # results = parallel(_test_one, files, flags=flags, verbose=verbose, n_workers=n_workers, pause=pause)
---> 20 results = [_test_one(f, flags=flags, verbose=verbose) for f in files]#todo fix parallel tester
21 passed,times = [r[0] for r in results],[r[1] for r in results]
22 if all(passed): print("All tests are passing!")
<ipython-input-16-3e7a1b620eb4> in <listcomp>(.0)
18 os.chdir(Config().path("nbs_path"))
19 # results = parallel(_test_one, files, flags=flags, verbose=verbose, n_workers=n_workers, pause=pause)
---> 20 results = [_test_one(f, flags=flags, verbose=verbose) for f in files]#todo fix parallel tester
21 passed,times = [r[0] for r in results],[r[1] for r in results]
22 if all(passed): print("All tests are passing!")
<ipython-input-15-f3b99b2c5eef> in _test_one(fname, flags, verbose)
4 start = time.time()
5 try:
----> 6 test_nb(fname, flags=flags)
7 return True,time.time()-start
8 except Exception as e:
<ipython-input-14-28122f25158c> in test_nb(fn, flags)
10 ep = NoExportPreprocessor(flags, timeout=600, kernel_name='scala')
11 pnb = nbformat.from_dict(nb)
---> 12 ep.preprocess(pnb)
13 finally: os.environ.pop("IN_TEST")
~/Code/classes/jlab_3.8/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py in preprocess(self, nb, resources, km)
403 with self.setup_preprocessor(nb, resources, km=km):
404 self.log.info("Executing notebook with kernel: %s" % self.kernel_name)
--> 405 nb, resources = super(ExecutePreprocessor, self).preprocess(nb, resources)
406 info_msg = self._wait_for_reply(self.kc.kernel_info())
407 nb.metadata['language_info'] = info_msg['content']['language_info']
~/Code/classes/jlab_3.8/lib/python3.8/site-packages/nbconvert/preprocessors/base.py in preprocess(self, nb, resources)
67 """
68 for index, cell in enumerate(nb.cells):
---> 69 nb.cells[index], resources = self.preprocess_cell(cell, resources, index)
70 return nb, resources
71
<ipython-input-13-306abf9ec327> in preprocess_cell(self, cell, resources, index)
11 if f not in self.flags: return cell, resources
12 if check_re(cell, _re_notebook2script): return cell, resources
---> 13 return super().preprocess_cell(cell, resources, index)
~/Code/classes/jlab_3.8/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py in preprocess_cell(self, cell, resources, cell_index, store_history)
436 return cell, resources
437
--> 438 reply, outputs = self.run_cell(cell, cell_index, store_history)
439 # Backwards compatibility for processes that wrap run_cell
440 cell.outputs = outputs
~/Code/classes/jlab_3.8/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py in run_cell(self, cell, cell_index, store_history)
587 # polling for output.
588 timeout = self._timeout_with_deadline(timeout, deadline)
--> 589 msg = self.kc.iopub_channel.get_msg(timeout=timeout)
590 except Empty:
591 if polling_exec_reply:
~/Code/classes/jlab_3.8/lib/python3.8/site-packages/jupyter_client/blocking/channels.py in get_msg(self, block, timeout)
45 if timeout is not None:
46 timeout *= 1000 # seconds to ms
---> 47 ready = self.socket.poll(timeout)
48 else:
49 ready = self.socket.poll(timeout=0)
~/Code/classes/jlab_3.8/lib/python3.8/site-packages/zmq/sugar/socket.py in poll(self, timeout, flags)
791 p = self._poller_class()
792 p.register(self, flags)
--> 793 evts = dict(p.poll(timeout))
794 # return 0 if no events, otherwise return event bitfield
795 return evts.get(self, 0)
~/Code/classes/jlab_3.8/lib/python3.8/site-packages/zmq/sugar/poll.py in poll(self, timeout)
101 elif isinstance(timeout, float):
102 timeout = int(timeout)
--> 103 return zmq_poll(self.sockets, timeout=timeout)
104
105
zmq/backend/cython/_poll.pyx in zmq.backend.cython._poll.zmq_poll()
~/Code/classes/jlab_3.8/lib/python3.8/site-packages/zmq/backend/cython/checkrc.pxd in zmq.backend.cython.checkrc._check_rc()
KeyboardInterrupt: