Skip to content
Snippets Groups Projects
Commit 0499fd5a authored by Pavel Kácha's avatar Pavel Kácha
Browse files

Unittest compatibility fix

parent 7b8d2e2e
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ class TestTypedDict(unittest.TestCase):
})
def testRequired(self):
with self.assertRaisesRegexp(KeysRequired, r"\(\('tel',\), \('address', 'state'\)"):
with self.assertRaisesRegex(KeysRequired, r"\(\('tel',\), \('address', 'state'\)"):
self.person.checkRequired(recursive=True)
def testUnknown(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment