summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2003-07-13 15:18:12 (GMT)
committerSkip Montanaro <skip@pobox.com>2003-07-13 15:18:12 (GMT)
commitae5c37b7b315ff11447edb951a253fe472796d47 (patch)
tree22ddf94127309224fdff9a6cd39a4bbde6b38187
parent4ee893fe39f11aca1cfcf7472c95c10e61d4aedd (diff)
downloadcpython-ae5c37b7b315ff11447edb951a253fe472796d47.zip
cpython-ae5c37b7b315ff11447edb951a253fe472796d47.tar.gz
cpython-ae5c37b7b315ff11447edb951a253fe472796d47.tar.bz2
delete unused local variable (pychecker caught)
-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