fix assert_raises