This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brandon-rhodes
Recipients brandon-rhodes
Date 2011-01-22.04:13:28
SpamBayes Score 0.0001511691
Marked as misclassified No
Message-id <1295669611.84.0.453494131357.issue10979@psf.upfronthosting.co.za>
In-reply-to
Content
Normally, unittest cleanly reports an exception in a setUpClass method. But if I place the attached test in a directory by itself and then run "python -m unittest discover -b" from inside of the same directory, then instead of being shown the setUpClass exception I am instead shown a long traceback because unittest seems to think that it has put a stringIO in place of sys.stdout but a file is there instead.
History
Date User Action Args
2011-01-22 04:13:32brandon-rhodessetrecipients: + brandon-rhodes
2011-01-22 04:13:31brandon-rhodessetmessageid: <1295669611.84.0.453494131357.issue10979@psf.upfronthosting.co.za>
2011-01-22 04:13:29brandon-rhodeslinkissue10979 messages
2011-01-22 04:13:28brandon-rhodescreate