Skip to content

Commit b9b6ba4

Browse files
committed
xfail on 32bit platform
1 parent 31e4730 commit b9b6ba4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pandas/tests/window/test_rolling.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
datetime,
33
timedelta,
44
)
5+
import platform
56

67
import numpy as np
78
import pytest
@@ -1082,8 +1083,11 @@ def test_rolling_sem(frame_or_series):
10821083

10831084

10841085
@pytest.mark.xfail(
1085-
is_platform_arm() or is_platform_power() or is_platform_riscv64(),
1086-
reason="GH 38921",
1086+
is_platform_arm()
1087+
or is_platform_power()
1088+
or is_platform_riscv64()
1089+
or platform.architecture()[0] == "32bit",
1090+
reason="GH 38921: known numerical instability on 32-bit platforms",
10871091
)
10881092
@pytest.mark.parametrize(
10891093
("func", "third_value", "values"),

0 commit comments

Comments
 (0)