bayespy.utils.misc.TestCase.assertRegex

TestCase.assertRegex(text, expected_regex, msg=None)[source]

Fail the test unless the text matches the regular expression.