Apparently, we never actually implemented an assert_raises function to match assertRaises (which has a few other forms, including one that let's you check the message against a regex).
This shouldn't be too hard, from my experimentation. We no longer need a control structure, which is nice. We already handle catching the exception, we should just need to actually CHECK that the exception is present. Then, we can muted it or otherwise suppress its negative runtime feedback.
Apparently, we never actually implemented an
assert_raisesfunction to matchassertRaises(which has a few other forms, including one that let's you check the message against a regex).This shouldn't be too hard, from my experimentation. We no longer need a control structure, which is nice. We already handle catching the exception, we should just need to actually CHECK that the exception is present. Then, we can
mutedit or otherwise suppress its negative runtime feedback.