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