summaryrefslogtreecommitdiff
path: root/pylint/test/test_self.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/test_self.py')
-rw-r--r--pylint/test/test_self.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pylint/test/test_self.py b/pylint/test/test_self.py
index b77988105..481d76108 100644
--- a/pylint/test/test_self.py
+++ b/pylint/test/test_self.py
@@ -145,6 +145,12 @@ class TestRunTC(object):
def test_w0704_ignored(self):
self._runtest([join(HERE, 'input', 'ignore_except_pass_by_default.py')], code=0)
+ def test_exit_zero(self):
+ self._runtest([
+ '--exit-zero',
+ join(HERE, 'regrtest_data', 'syntax_error.py')
+ ], code=0)
+
def test_generate_config_option(self):
self._runtest(['--generate-rcfile'], code=0)