From ae5c37b7b315ff11447edb951a253fe472796d47 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Sun, 13 Jul 2003 15:18:12 +0000 Subject: [PATCH] delete unused local variable (pychecker caught) --- Lib/unittest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/unittest.py b/Lib/unittest.py index d31e251d4b0..76b08d6c99f 100644 --- a/Lib/unittest.py +++ b/Lib/unittest.py @@ -218,7 +218,7 @@ class TestCase: try: testMethod() ok = 1 - except self.failureException, e: + except self.failureException: result.addFailure(self, self.__exc_info()) except KeyboardInterrupt: raise