Skip to content

Commit 2d1a5f9

Browse files
jrebackalanbato
authored andcommitted
COMPAT: skip 32-bit test on int repr (pandas-dev#17664)
closes pandas-dev#17121
1 parent f351307 commit 2d1a5f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/frame/test_api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ def test_itertuples(self):
213213
assert (list(dfaa.itertuples()) ==
214214
[(0, 1, 1), (1, 2, 2), (2, 3, 3)])
215215

216-
# repr with be int/long on windows
217-
if not compat.is_platform_windows():
216+
# repr with be int/long on 32-bit/windows
217+
if not (compat.is_platform_windows() or compat.is_platform_32bit()):
218218
assert (repr(list(df.itertuples(name=None))) ==
219219
'[(0, 1, 4), (1, 2, 5), (2, 3, 6)]')
220220

0 commit comments

Comments
 (0)