Debian Codegraph @

tests/test_coverup_33.py

raw symbols SCIP
1 # file scalene/scalene_parseargs.py:35-38
2 # lines [35, 36, 38]
3 # branches []
4
5 import pytest
6 from scalene.scalene_parseargs import ScaleneParseArgs
7
8
9 class StopJupyterExecution(Exception):
10 pass
11
12
13 def test_clean_exit(monkeypatch):
14 monkeypatch.setattr(
15 "scalene.scalene_parseargs.StopJupyterExecution", StopJupyterExecution
16 )
17 with pytest.raises(StopJupyterExecution):
18 ScaleneParseArgs.clean_exit()