mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
Fix Python 2 compatiblity.
This commit is contained in:
parent
5a82cefd51
commit
078eb9bad8
@ -131,7 +131,7 @@ class GenTest(SupyTestCase):
|
||||
self.assertEqual(list(AL.items()), [(1, 2), (2, 3), (3, 4)])
|
||||
self.assertEqual(list(AL.keys()), [1, 2, 3])
|
||||
if sys.version_info[0] < 3:
|
||||
self.assertEqual(list(AL.iterkeys()), [1, 2, 3])
|
||||
self.assertEqual(list(AL.keys()), [1, 2, 3])
|
||||
self.assertEqual(AL.values(), [2, 3, 4])
|
||||
self.assertEqual(list(AL.values()), [2, 3, 4])
|
||||
self.assertEqual(len(AL), 3)
|
||||
|
Loading…
Reference in New Issue
Block a user