Skip to content

Commit 8c77f1a

Browse files
committed
Add builtin exit test
1 parent 00a0e45 commit 8c77f1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/snippets/exit.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from testutils import assert_raises
2+
3+
with assert_raises(SystemExit):
4+
exit()

0 commit comments

Comments
 (0)