bayespy.utils.misc.TestCase.assertNotRegex

TestCase.assertNotRegex(text, unexpected_regex, msg=None)[source]

Fail the test if the text matches the regular expression.