We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d629b1a commit 087736aCopy full SHA for 087736a
flattentool/tests/test_input_SpreadsheetInput.py
@@ -98,7 +98,10 @@ def test_xlsx_input_integer(self):
98
99
assert list(xlsxinput.get_sheet_lines('main')) == \
100
[{'colA': 1}]
101
- assert type(list(xlsxinput.get_sheet_lines('main'))[0]['colA']) == int
+ if sys.version_info[0] == 2:
102
+ assert type(list(xlsxinput.get_sheet_lines('main'))[0]['colA']) == long
103
+ else:
104
+ assert type(list(xlsxinput.get_sheet_lines('main'))[0]['colA']) == int
105
assert xlsxinput.sub_sheet_names == ['main']
106
107
def test_xlsx_input_integer2(self):
0 commit comments