From 35aef58e2c7f35137210cefa428d99a6d20fe848 Mon Sep 17 00:00:00 2001 From: Jeff Reback Date: Mon, 25 Sep 2017 07:09:28 -0400 Subject: [PATCH] COMPAT: skip 32-bit test on int repr closes #17121 --- pandas/tests/frame/test_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/tests/frame/test_api.py b/pandas/tests/frame/test_api.py index b3209da6449d6..230a5806ccb2e 100644 --- a/pandas/tests/frame/test_api.py +++ b/pandas/tests/frame/test_api.py @@ -213,8 +213,8 @@ def test_itertuples(self): assert (list(dfaa.itertuples()) == [(0, 1, 1), (1, 2, 2), (2, 3, 3)]) - # repr with be int/long on windows - if not compat.is_platform_windows(): + # repr with be int/long on 32-bit/windows + if not (compat.is_platform_windows() or compat.is_platform_32bit()): assert (repr(list(df.itertuples(name=None))) == '[(0, 1, 4), (1, 2, 5), (2, 3, 6)]')