From 6c4f29978c85a92bb0275f461ace3021f05c2e96 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Wed, 26 Aug 2020 22:34:50 +0100 Subject: [PATCH] Skip a test that crashes on s390x Author: Rebecca N. Palmer Forwarded: no Gbp-Pq: Name skip_crashing_test.patch --- pandas/tests/window/test_apply.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandas/tests/window/test_apply.py b/pandas/tests/window/test_apply.py index f56227b7..e48beddb 100644 --- a/pandas/tests/window/test_apply.py +++ b/pandas/tests/window/test_apply.py @@ -13,6 +13,8 @@ def test_rolling_apply_invalid_raw(bad_raw): Series(range(3)).rolling(1).apply(len, raw=bad_raw) +from pandas.compat import is_platform_little_endian +@pytest.mark.skipif(not is_platform_little_endian(), reason="segfaults on s390x") def test_rolling_apply_out_of_bounds(engine_and_raw): # gh-1850 engine, raw = engine_and_raw -- 2.30.2