From 2bc854387fa00779bbae4678d21c3f36d6b04a19 Mon Sep 17 00:00:00 2001 From: ChJR Date: Tue, 8 Oct 2019 01:03:09 +0900 Subject: [PATCH] Remove NameError checking from exit.py due to error of flake8 Linting --- tests/snippets/exit.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/snippets/exit.py b/tests/snippets/exit.py index 9fa34b17ee..f6dc387322 100644 --- a/tests/snippets/exit.py +++ b/tests/snippets/exit.py @@ -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