Пример #1
0
 def test_13(self):
     a = {'A': {'B': {'C': 1, 'CC': 3}}, 'AA': 2}
     b = {'A': {'B': {'C': 1, 'CCC': 3}}, 'AA': 2}
     try:
         cdict.keycmp(a, b)
     except Exception as e:
         assert e.args[0] == ('A', 'B', 'CCC')
Пример #2
0
 def test_12(self):
     a = {'A': {'B': {'C': 1, 'CC': 3}}, 'AA': 2}
     b = {'A': {'B': {'C': 1, 'CC': 3}}, 'AA': 2}
     try:
         cdict.keycmp(a, b)
     except Exception as e:
         print(e)
         assert 0