[Python-checkins] r79965 - in python/branches/py3k: Doc/library/unittest.rst Lib/test/regrtest.py Lib/test/test_argparse.py Lib/unittest/case.py Lib/unittest/loader.py Lib/unittest/main.py Lib/unittest/result.py Lib/unittest/runner.py Lib/unittes

Benjamin Peterson benjamin at python.org
Sun Apr 25 23:06:29 CEST 2010


2010/4/25 Michael Foord <fuzzyman at gmail.com>:
> So the use of "chain" in unittest.TestResult._exc_info_to_string is how you
> got round the problem of the tests depending on calling
> traceback.format_exception with (None, None, None)?
>
> Do you still want me to fix this? Your workaround seems to be fine. :-)

What's a workaround to you is a hack to me. :) I don't think None
should be passed to traceback atall.



-- 
Regards,
Benjamin


More information about the Python-checkins mailing list