Skip to content

Commit

Permalink
CI: skip segfault tests for array manager (#44999)
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl authored Dec 21, 2021
1 parent 2cc9ab3 commit 14287e3
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions pandas/tests/io/json/test_json_table_schema_ext_dtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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")
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 14287e3

Please sign in to comment.