Commit 1e37db6e authored by Jeremy Hylton's avatar Jeremy Hylton

Don't bind exception to variable. It's unused.

parent 0b9d06c2
...@@ -30,7 +30,7 @@ class TestThread(threading.Thread): ...@@ -30,7 +30,7 @@ class TestThread(threading.Thread):
def run(self): def run(self):
try: try:
self.testrun() self.testrun()
except Exception, err: except Exception:
s = StringIO() s = StringIO()
traceback.print_exc(file=s) traceback.print_exc(file=s)
self._testcase.fail("Exception in thread %s:\n%s\n" % self._testcase.fail("Exception in thread %s:\n%s\n" %
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment