diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2010-11-02 17:38:24 +0100 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-11-02 17:38:24 +0100 |
commit | 95e39254ef70ae4f4fefd1b809e49b6ab534e222 (patch) | |
tree | 0b4d78fcc47b7de85adff9b7a7af7401d009d96b /test/test_func.py | |
parent | d6dc9c23e0459fa3512bf5485bece8ea9a0003cd (diff) | |
download | pylint-git-95e39254ef70ae4f4fefd1b809e49b6ab534e222.tar.gz |
223 : second expression of raise is instantiation arguments
Diffstat (limited to 'test/test_func.py')
-rw-r--r-- | test/test_func.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_func.py b/test/test_func.py index be2517419..f2f2f0d8a 100644 --- a/test/test_func.py +++ b/test/test_func.py @@ -106,7 +106,7 @@ class LintTestUsingModule(testlib.TestCase): try: self.assertMultiLineEqual(got, expected) except Exception, ex: - raise AssertionError('%s: %s' % (self.module, ex)), None, sys.exc_info()[-1] + raise AssertionError, '%s: %s' % (self.module, ex), sys.exc_info()[-1] class LintTestUsingFile(LintTestUsingModule): |