Skip to content

Commit 5ebb0a5

Browse files
committed
added custom assertDictEqual() function
1 parent 16dc31c commit 5ebb0a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class TestSendGrid(unittest.TestCase):
2222
maxDiff = None
2323

2424
def assertDictEqual(self, d1, d2, msg=None): # assertEqual uses for dicts
25-
for k,v1 in d1.iteritems():
25+
for k,v1 in d1.items():
2626
self.assertIn(k, d2, msg)
2727
v2 = d2[k]
2828
if(isinstance(v1, collections.Iterable) and

0 commit comments

Comments
 (0)