Skip to content

Commit

Permalink
Backport PR #48245 on Branch 1.4.x (CI: Skip test_round_sanity tests …
Browse files Browse the repository at this point in the history
…due to failures) (#48269)
  • Loading branch information
phofl committed Aug 26, 2022
1 parent 3e938c2 commit 6fa8a4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions pandas/tests/scalar/timedelta/test_timedelta.py
Expand Up @@ -13,7 +13,6 @@
NaT,
iNaT,
)
from pandas.compat import IS64

import pandas as pd
from pandas import (
Expand Down Expand Up @@ -414,7 +413,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]
Expand Down
3 changes: 1 addition & 2 deletions pandas/tests/scalar/timestamp/test_unary_ops.py
Expand Up @@ -20,7 +20,6 @@
to_offset,
)
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
Expand Down Expand Up @@ -281,7 +280,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]
Expand Down

0 comments on commit 6fa8a4a

Please sign in to comment.