Skip to content

Commit b0c4c14

Browse files
committed
fixing assertion
1 parent 1423c7b commit b0c4c14

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

test/__init__.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,9 @@ def test_send(self):
9797
"asm_group_id": 42
9898
}
9999
'''))
100-
try:
101-
self.assertItemsEqual(url, test_url) #python 2
102-
except AttributeError:
103-
self.assertCountEqual(url, test_url)
104-
100+
101+
self.assertEqual(url, test_url)
102+
105103
@unittest.skipUnless(sys.version_info < (3, 0), 'only for python2')
106104
def test__build_body_unicode(self):
107105
"""test _build_body() handles encoded unicode outside ascii range"""

0 commit comments

Comments
 (0)