summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/unittest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest.py b/Lib/unittest.py
index d31e251..76b08d6 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