sknano.testing.GeneratorTestFixtures.assertRegex

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

Fail the test unless the text matches the regular expression.