Giampaolo RodolĂ <[EMAIL PROTECTED]> writes: > def test_answer(): > assert 42 == 43 > > What's the equivalent of unittest's "assertRaises"?
def test_raises():
try:
thingy()
assert 42 == 43
except GoodException:
pass
--
http://mail.python.org/mailman/listinfo/python-list
