From c7873f60ab903d14f4c8a7b554dcb13f36e39224 Mon Sep 17 00:00:00 2001 From: phofl Date: Tue, 21 Dec 2021 17:58:47 +0100 Subject: [PATCH] CI: skip segfault tests for array manager --- .../io/json/test_json_table_schema_ext_dtype.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pandas/tests/io/json/test_json_table_schema_ext_dtype.py b/pandas/tests/io/json/test_json_table_schema_ext_dtype.py index 3daac204aa730..52e973aed4d4e 100644 --- a/pandas/tests/io/json/test_json_table_schema_ext_dtype.py +++ b/pandas/tests/io/json/test_json_table_schema_ext_dtype.py @@ -131,7 +131,10 @@ def setup_method(self, method): } ) - def test_build_date_series(self): + def test_build_date_series(self, using_array_manager): + if using_array_manager: + pytest.skip("Segfault for array manager GH44994") + s = Series(self.da, name="a") s.index.name = "id" result = s.to_json(orient="table", date_format="iso") @@ -156,7 +159,10 @@ def test_build_date_series(self): assert result == expected - def test_build_decimal_series(self): + def test_build_decimal_series(self, using_array_manager): + if using_array_manager: + pytest.skip("Segfault for array manager GH44994") + s = Series(self.dc, name="a") s.index.name = "id" result = s.to_json(orient="table", date_format="iso") @@ -231,7 +237,10 @@ def test_build_int64_series(self): assert result == expected - def test_to_json(self): + def test_to_json(self, using_array_manager): + if using_array_manager: + pytest.skip("Segfault for array manager GH44994") + df = self.df.copy() df.index.name = "idx" result = df.to_json(orient="table", date_format="iso")