Skip to content

Commit 6043f28

Browse files
committed
python 3 has replaced xrange with range. hence for cross python compatibility range is used
1 parent a0b8ae1 commit 6043f28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_bug_fixes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_pyexcel_issue_5(self):
2525
def test_pyexcel_xls_issue_2(self):
2626
data = OrderedDict()
2727
array = []
28-
for i in xrange(4100):
28+
for i in range(4100):
2929
array.append([datetime.datetime.now()])
3030
data.update({"test": array})
3131
s = xls.save_data("test.xls", data)

0 commit comments

Comments
 (0)