Skip to content

Commit 14287e3

Browse files
authored
CI: skip segfault tests for array manager (#44999)
1 parent 2cc9ab3 commit 14287e3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

pandas/tests/io/json/test_json_table_schema_ext_dtype.py

+12-3
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,10 @@ def setup_method(self, method):
131131
}
132132
)
133133

134-
def test_build_date_series(self):
134+
def test_build_date_series(self, using_array_manager):
135+
if using_array_manager:
136+
pytest.skip("Segfault for array manager GH44994")
137+
135138
s = Series(self.da, name="a")
136139
s.index.name = "id"
137140
result = s.to_json(orient="table", date_format="iso")
@@ -156,7 +159,10 @@ def test_build_date_series(self):
156159

157160
assert result == expected
158161

159-
def test_build_decimal_series(self):
162+
def test_build_decimal_series(self, using_array_manager):
163+
if using_array_manager:
164+
pytest.skip("Segfault for array manager GH44994")
165+
160166
s = Series(self.dc, name="a")
161167
s.index.name = "id"
162168
result = s.to_json(orient="table", date_format="iso")
@@ -231,7 +237,10 @@ def test_build_int64_series(self):
231237

232238
assert result == expected
233239

234-
def test_to_json(self):
240+
def test_to_json(self, using_array_manager):
241+
if using_array_manager:
242+
pytest.skip("Segfault for array manager GH44994")
243+
235244
df = self.df.copy()
236245
df.index.name = "idx"
237246
result = df.to_json(orient="table", date_format="iso")

0 commit comments

Comments
 (0)