Skip to content

Commit 4c4e673

Browse files
committed
new change
1 parent 64bf3fe commit 4c4e673

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pandas/tests/window/test_rolling.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,8 +1082,7 @@ def test_rolling_sem(frame_or_series):
10821082

10831083

10841084
@pytest.mark.xfail(
1085-
is_platform_arm() or is_platform_power() or is_platform_riscv64(),
1086-
reason="GH 38921",
1085+
reason="Numerical precision issues with large/small values (GH 37051)"
10871086
)
10881087
@pytest.mark.parametrize(
10891088
("func", "third_value", "values"),
@@ -1099,8 +1098,7 @@ def test_rolling_var_numerical_issues(func, third_value, values):
10991098
ds = Series([99999999999999999, 1, third_value, 2, 3, 1, 1])
11001099
result = getattr(ds.rolling(2), func)()
11011100
expected = Series([np.nan] + values)
1102-
tm.assert_almost_equal(result[1:].values, expected[1:].values, rtol=1e-4, atol=1e-6)
1103-
1101+
tm.assert_series_equal(result, expected)
11041102

11051103
def test_timeoffset_as_window_parameter_for_corr(unit):
11061104
# GH: 28266

0 commit comments

Comments
 (0)