Skip to content

Commit fbbfa56

Browse files
skip tests on pandas 1.x
1 parent 8fe7c9d commit fbbfa56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/system/small/test_groupby.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,8 @@ def test_dataframe_groupby_value_counts(
598598
dropna,
599599
as_index,
600600
):
601+
if pd.__version__.startswith("1."):
602+
pytest.skip("pandas 1.x produces different column labels.")
601603
col_names = ["float64_col", "int64_col", "bool_col", "int64_too"]
602604
bf_result = (
603605
scalars_df_index[col_names]
@@ -885,6 +887,8 @@ def test_series_groupby_value_counts(
885887
ascending,
886888
dropna,
887889
):
890+
if pd.__version__.startswith("1."):
891+
pytest.skip("pandas 1.x produces different column labels.")
888892
bf_result = (
889893
scalars_df_index.groupby("bool_col")["string_col"]
890894
.value_counts(normalize=normalize, ascending=ascending, dropna=dropna)

0 commit comments

Comments
 (0)