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

Unittest fix - py3 exposes dict order randomization

parent 0499fd5a
Branches
No related tags found
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.assertRaisesRegex(KeysRequired, r"\(\('tel',\), \('address', 'state'\)"): with self.assertRaisesRegex(KeysRequired, r"\(\('tel',\), \('address', 'state'\)\)|\(\('address', 'state'\), \('tel',\)\)"):
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