Skip to content

Commit 5936e7b

Browse files
skip tests for pandas regression (pandas-dev/pandas#50127)
1 parent 4e9b65a commit 5936e7b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

python/pyarrow/tests/test_pandas.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,11 @@ def test_mixed_column_names(self):
449449
preserve_index=True)
450450

451451
def test_binary_column_name(self):
452+
if Version("2.0.0.dev0") <= Version(pd.__version__) < Version("2.0.0"):
453+
# TODO: regression in pandas, should be fixed before final 2.0.0
454+
# https://issues.apache.org/jira/browse/ARROW-18394
455+
# https://github.com/pandas-dev/pandas/issues/50127
456+
pytest.skip("Regression in pandas 2.0.0.dev")
452457
column_data = ['い']
453458
key = 'あ'.encode()
454459
data = {key: column_data}
@@ -2877,6 +2882,12 @@ def _fully_loaded_dataframe_example():
28772882

28782883
@pytest.mark.parametrize('columns', ([b'foo'], ['foo']))
28792884
def test_roundtrip_with_bytes_unicode(columns):
2885+
if Version("2.0.0.dev0") <= Version(pd.__version__) < Version("2.0.0"):
2886+
# TODO: regression in pandas, should be fixed before final 2.0.0
2887+
# https://issues.apache.org/jira/browse/ARROW-18394
2888+
# https://github.com/pandas-dev/pandas/issues/50127
2889+
pytest.skip("Regression in pandas 2.0.0.dev")
2890+
28802891
df = pd.DataFrame(columns=columns)
28812892
table1 = pa.Table.from_pandas(df)
28822893
table2 = pa.Table.from_pandas(table1.to_pandas())

0 commit comments

Comments
 (0)