diff options
-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): |