MCPcopy Index your code
hub / github.com/RustPython/RustPython / builtin_exit.py

File builtin_exit.py

extra_tests/snippets/builtin_exit.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from testutils import assert_raises
2
3with assert_raises(SystemExit):
4 exit()

Callers

nothing calls this directly

Calls 3

assert_raisesFunction · 0.90
exitFunction · 0.50
exitMethod · 0.45

Tested by

no test coverage detected