Skip to content

Commit 73a9f79

Browse files
committed
Remove and replace izip in TestPack
1 parent 58bce6b commit 73a9f79

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

gitdb/test/test_pack.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@
2727
from gitdb.util import to_bin_sha
2828
from gitdb.utils.compat import xrange
2929

30-
try:
31-
from itertools import izip
32-
except ImportError:
33-
izip = zip
34-
3530
from nose import SkipTest
3631

3732
import os
@@ -155,7 +150,7 @@ def test_pack_entity(self, rw_dir):
155150
pack_objs.extend(entity.stream_iter())
156151

157152
count = 0
158-
for info, stream in izip(entity.info_iter(), entity.stream_iter()):
153+
for info, stream in zip(entity.info_iter(), entity.stream_iter()):
159154
count += 1
160155
assert info.binsha == stream.binsha
161156
assert len(info.binsha) == 20

0 commit comments

Comments
 (0)