Commit 55727e12 authored by Benjamin Peterson's avatar Benjamin Peterson

Merged revisions 86511 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86511 | benjamin.peterson | 2010-11-18 08:14:43 -0600 (Thu, 18 Nov 2010) | 1 line

  reduce try block compass
........
parent 1c4253d6
......@@ -168,9 +168,10 @@ class TextTestRunner(object):
results = map(len, (result.expectedFailures,
result.unexpectedSuccesses,
result.skipped))
expectedFails, unexpectedSuccesses, skipped = results
except AttributeError:
pass
else:
expectedFails, unexpectedSuccesses, skipped = results
infos = []
if not result.wasSuccessful():
......
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