From c4727c200ce0968b44d8539d6c6bb9a223f617a5 Mon Sep 17 00:00:00 2001 From: Patrick Hoefler Date: Thu, 25 Aug 2022 15:43:25 +0200 Subject: [PATCH] CI: Skip test_round_sanity tests due to failures --- pandas/tests/scalar/timedelta/test_timedelta.py | 3 +-- pandas/tests/scalar/timestamp/test_unary_ops.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pandas/tests/scalar/timedelta/test_timedelta.py b/pandas/tests/scalar/timedelta/test_timedelta.py index 0dd3a88670ece..21f32cf2d2d1e 100644 --- a/pandas/tests/scalar/timedelta/test_timedelta.py +++ b/pandas/tests/scalar/timedelta/test_timedelta.py @@ -14,7 +14,6 @@ iNaT, ) from pandas._libs.tslibs.dtypes import NpyDatetimeUnit -from pandas.compat import IS64 from pandas.errors import OutOfBoundsTimedelta import pandas as pd @@ -691,7 +690,7 @@ def test_round_implementation_bounds(self): with pytest.raises(OverflowError, match=msg): Timedelta.max.ceil("s") - @pytest.mark.xfail(not IS64, reason="Failing on 32 bit build", strict=False) + @pytest.mark.xfail(reason="Failing on builds", strict=False) @given(val=st.integers(min_value=iNaT + 1, max_value=lib.i8max)) @pytest.mark.parametrize( "method", [Timedelta.round, Timedelta.floor, Timedelta.ceil] diff --git a/pandas/tests/scalar/timestamp/test_unary_ops.py b/pandas/tests/scalar/timestamp/test_unary_ops.py index cc11037660ad2..9c376c7a13efc 100644 --- a/pandas/tests/scalar/timestamp/test_unary_ops.py +++ b/pandas/tests/scalar/timestamp/test_unary_ops.py @@ -21,7 +21,6 @@ ) from pandas._libs.tslibs.dtypes import NpyDatetimeUnit from pandas._libs.tslibs.period import INVALID_FREQ_ERR_MSG -from pandas.compat import IS64 import pandas.util._test_decorators as td import pandas._testing as tm @@ -298,7 +297,7 @@ def test_round_implementation_bounds(self): with pytest.raises(OverflowError, match=msg): Timestamp.max.ceil("s") - @pytest.mark.xfail(not IS64, reason="Failing on 32 bit build", strict=False) + @pytest.mark.xfail(reason="Failing on builds", strict=False) @given(val=st.integers(iNaT + 1, lib.i8max)) @pytest.mark.parametrize( "method", [Timestamp.round, Timestamp.floor, Timestamp.ceil]