diff options
-rw-r--r-- | checkers/exceptions.py | 8 | ||||
-rw-r--r-- | test/smoketest.py | 2 |
2 files changed, 2 insertions, 8 deletions
diff --git a/checkers/exceptions.py b/checkers/exceptions.py index 3e95bf0..8390e57 100644 --- a/checkers/exceptions.py +++ b/checkers/exceptions.py @@ -53,12 +53,8 @@ MSGS = { 'Used when a custom exception class is raised but doesn\'t \ inherit from the builtin "Exception" class.'), } -if sys.version_info < (2, 5): - MSGS['E0710'] = ('Raising a new style class', - 'Used when a new style class is raised since it\'s not \ - possible with python < 2.5.') -else: - MSGS['E0710'] = ('Raising a new style class which doesn\'t inherit from \ + +MSGS['E0710'] = ('Raising a new style class which doesn\'t inherit from \ BaseException', 'Used when a new style class which doesn\'t inherit from \ BaseException is raised since it\'s not possible with \ diff --git a/test/smoketest.py b/test/smoketest.py index 5b0e511..486704d 100644 --- a/test/smoketest.py +++ b/test/smoketest.py @@ -29,8 +29,6 @@ class RunTC(TestCase): def _runtest(self, args, reporter=None, out=None, code=28): if out is None: out = StringIO() - if sys.version_info < (2, 5) and 'pylint.lint' in args: - code = 30 try: sys.stderr = sys.stdout = out try: |