Remove NameError checking from exit.py due to error of flake8 Linting
@@ -9,9 +9,6 @@ with assert_raises(SystemExit):
with assert_raises(SystemExit):
exit(1)
-with assert_raises(NameError):
- exit(AB)
-
with assert_raises(SystemExit):
exit("AB")
@@ -24,9 +21,6 @@ with assert_raises(SystemExit):
with assert_raises(SystemExit):
quit(1)
-with assert_raises(NameError):
- quit(AB)
-
with assert_raises(SystemExit):
quit("AB")
@@ -41,8 +35,5 @@ with assert_raises(SystemExit):
with assert_raises(SystemExit):
sys.exit(1)
-with assert_raises(NameError):
- sys.exit(AB)
-
with assert_raises(SystemExit):
sys.exit("AB")
\ No newline at end of file
