Skip to content

Commit 9bf3bf3

Browse files
committed
-
1 parent 7b90fd1 commit 9bf3bf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source_py2/test_python_toolbox/test_cute_iter_tools/test_iter_with.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test():
3838
assert inactive_context_manager.counter == -1
3939
assert inactive_context_manager.active is False
4040

41-
def test_lazy_tuple():
41+
def test_lazy_tuple():
4242

4343
active_context_manager = MyContextManager()
4444
inactive_context_manager = MyContextManager()
@@ -47,7 +47,7 @@ def test_lazy_tuple():
4747
assert isinstance(lazy_tuple, nifty_collections.LazyTuple)
4848
assert not lazy_tuple.collected_data
4949

50-
for i, j in zip(lazy_tuple, range(5)):
50+
for i, j in itertools.izip(lazy_tuple, range(5)):
5151
assert i == j == active_context_manager.counter
5252
assert active_context_manager.active is False
5353
assert inactive_context_manager.counter == -1

0 commit comments

Comments
 (0)