def test_assert_raise_asserts_true_for_callable_that_raises_exception(): def f(): raise Exception chuck.assert_raises(Exception, f)
def test_assert_raise_asserts_true_for_empty_callable(): def f(): pass chuck.assert_raises(Exception, f)