Skip to content

Commit

Permalink
python3 compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Kümmerer <matthias@matthias-k.org>
  • Loading branch information
matthias-k committed Jul 20, 2018
1 parent 9229101 commit 6d9c394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def gen(i):
for i in range(length):
self.assertEqual(l[i], i**2)

self.assertEqual(calls, range(length))
self.assertEqual(calls, list(range(length)))

def test_pickle_no_cache(self):
def gen(i):
Expand Down

0 comments on commit 6d9c394

Please sign in to comment.