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 | dc12871ac173c02116e6d5b8004517b41f501030 (patch) | |
tree | 67c6f78addb53e858186e2e79f886f64e9242ae9 /test/test_func.py | |
parent | d471853813e36d26290cfaf6f63e4fdecb61ec81 (diff) | |
download | pylint-dc12871ac173c02116e6d5b8004517b41f501030.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 be25174..f2f2f0d 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): |