Skip to content

Commit 2bc8543

Browse files
committed
Remove NameError checking from exit.py due to error of flake8 Linting
1 parent 0b60b6f commit 2bc8543

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

tests/snippets/exit.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
with assert_raises(SystemExit):
1010
exit(1)
1111

12-
with assert_raises(NameError):
13-
exit(AB)
14-
1512
with assert_raises(SystemExit):
1613
exit("AB")
1714

@@ -24,9 +21,6 @@
2421
with assert_raises(SystemExit):
2522
quit(1)
2623

27-
with assert_raises(NameError):
28-
quit(AB)
29-
3024
with assert_raises(SystemExit):
3125
quit("AB")
3226

@@ -41,8 +35,5 @@
4135
with assert_raises(SystemExit):
4236
sys.exit(1)
4337

44-
with assert_raises(NameError):
45-
sys.exit(AB)
46-
4738
with assert_raises(SystemExit):
4839
sys.exit("AB")

0 commit comments

Comments
 (0)