Fix DeprecationWarnings in tests (#313)

`assertRegexpMatches` is deprecated in favor of `assertRegex`

no-changelog
1 file changed