Skip a test that crashes on s390x
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name skip_crashing_test.patch

pandas/tests/window/test_apply.py

index f56227b72fc481af5f917db60395bc571df11eeb..e48beddbfb41dd2edef9f4851c1997556d25bb66 100644 (file)
@@ -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