Debian Codegraph @

tests/test_coverup_29.py

raw symbols SCIP
1 # file scalene/scalene_parseargs.py:27-31
2 # lines [27, 28, 30, 31]
3 # branches []
4
5 import pytest
6 from scalene.scalene_parseargs import StopJupyterExecution
7
8
9 def test_stop_jupyter_execution():
10 # Test the instantiation and the special method _render_traceback_
11 try:
12 raise StopJupyterExecution()
13 except StopJupyterExecution as e:
14 assert e._render_traceback_() is None