Skip to content

Commit c8d8ef0

Browse files
committed
fix python 3 failures
1 parent bfaff0a commit c8d8ef0

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

docs/source/pagination.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,10 @@ Obvious, you could do both at the same time:
5353
.. code-block:: python
5454
5555
>>> data = get_data("your_file.csv",
56-
... start_row=2, row_limit=3)
56+
... start_row=2, row_limit=3,
5757
... start_column=1, column_limit=2)
5858
>>> data['your_file.csv']
59-
[[3, 23, 33], [4, 24, 34], [5, 25, 35]]
60-
59+
[[23, 33], [24, 34], [25, 35]]
6160
6261
The pagination support is available across all pyexcel-io plugins.
6362

tests/test_issues.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ def test_issue_23():
3333
"issue23.csv")
3434
data = get_data(test_file)
3535
expected = [
36-
[8204235414504252L, u'inf'],
37-
[82042354145042521L, u'-inf'],
38-
[820423541450425216L, 0],
39-
[820423541450425247L, 1],
40-
[8204235414504252490L, 1.1]
36+
[8204235414504252, u'inf'],
37+
[82042354145042521, u'-inf'],
38+
[820423541450425216, 0],
39+
[820423541450425247, 1],
40+
[8204235414504252490, 1.1]
4141
]
4242
eq_(data['issue23.csv'], expected)

0 commit comments

Comments
 (0)