Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nbdev/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_nb(fn, # file name of notebook to test
verbose=False, # stream stdout/stderr from cells to console?
save=False): # write outputs back to notebook on success?
"Execute tests in notebook in `fn` except those with `skip_flags`"
faulthandler.register(signal.SIGINT, all_threads=True, chain=True)
faulthandler.register(signal.SIGINT, file=sys.__stderr__, all_threads=True, chain=True)
if basepath: sys.path.insert(0, str(basepath))
if not IN_NOTEBOOK: os.environ["IN_TEST"] = '1'
flags=set(L(skip_flags)) - set(L(force_flags))
Expand Down
2 changes: 1 addition & 1 deletion nbs/api/12_test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
" verbose=False, # stream stdout/stderr from cells to console?\n",
" save=False): # write outputs back to notebook on success?\n",
" \"Execute tests in notebook in `fn` except those with `skip_flags`\"\n",
" faulthandler.register(signal.SIGINT, all_threads=True, chain=True)\n",
" faulthandler.register(signal.SIGINT, file=sys.__stderr__, all_threads=True, chain=True)\n",
" if basepath: sys.path.insert(0, str(basepath))\n",
" if not IN_NOTEBOOK: os.environ[\"IN_TEST\"] = '1'\n",
" flags=set(L(skip_flags)) - set(L(force_flags))\n",
Expand Down
Loading