Tweaked PyInqAssertRaisesError for consistency