Michael Foord added the comment: Assertions are not uncommon in setUp. setUp is for setting up common state shared between tests and I regularly want to assert that state creation / preconditions are correct.
I've never been bitten by this issue (I rarely use expectedFailure), but it's worth noting the use case. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10548> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com