Skip to content

Commit 2bc89ce

Browse files
committed
removing compatiblity for py3.3
1 parent ee5aa2e commit 2bc89ce

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

test/__init__.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,7 @@
1919
SG_PWD = os.getenv('SG_PWD') or 'SENDGRID_PASSWORD'
2020

2121
class TestSendGrid(unittest.TestCase):
22-
maxDiff = None
23-
24-
def assertDictEqual(self, d1, d2, msg=None): # assertEqual uses for dicts
25-
for k,v1 in d1.items():
26-
self.assertIn(k, d2, msg)
27-
v2 = d2[k]
28-
if(isinstance(v1, collections.Iterable) and
29-
not isinstance(v1, str)):
30-
self.assertItemsEqual(v1, v2, msg)
31-
else:
32-
self.assertEqual(v1, v2, msg)
33-
return True
22+
3423
def setUp(self):
3524
self.sg = SendGridClient(SG_USER, SG_PWD)
3625

0 commit comments

Comments
 (0)