Skip to content

Commit da5ecd1

Browse files
committed
xfail generally
1 parent 2c2d27d commit da5ecd1

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

pandas/tests/scalar/timedelta/test_timedelta.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -691,19 +691,14 @@ def test_round_implementation_bounds(self):
691691
with pytest.raises(OverflowError, match=msg):
692692
Timedelta.max.ceil("s")
693693

694+
@pytest.mark.xfail(not IS64, reason="Failing on 32 bit build")
694695
@given(val=st.integers(min_value=iNaT + 1, max_value=lib.i8max))
695696
@pytest.mark.parametrize(
696697
"method",
697698
[
698-
pytest.param(
699-
Timedelta.round,
700-
marks=pytest.mark.xfail(not IS64, reason="Failing on 32 bit build"),
701-
),
699+
Timedelta.round,
702700
Timedelta.floor,
703-
pytest.param(
704-
Timedelta.ceil,
705-
marks=pytest.mark.xfail(not IS64, reason="Failing on 32 bit build"),
706-
),
701+
Timedelta.ceil,
707702
],
708703
)
709704
def test_round_sanity(self, val, method):

pandas/tests/scalar/timestamp/test_unary_ops.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,15 +298,13 @@ def test_round_implementation_bounds(self):
298298
with pytest.raises(OverflowError, match=msg):
299299
Timestamp.max.ceil("s")
300300

301+
@pytest.mark.xfail(not IS64, reason="Failing on 32 bit build")
301302
@given(val=st.integers(iNaT + 1, lib.i8max))
302303
@pytest.mark.parametrize(
303304
"method",
304305
[
305306
Timestamp.round,
306-
pytest.param(
307-
Timedelta.floor,
308-
marks=pytest.mark.xfail(not IS64, reason="Failing on 32 bit build"),
309-
),
307+
Timedelta.floor,
310308
Timestamp.ceil,
311309
],
312310
)

0 commit comments

Comments
 (0)