diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ae70e6e9ca10..59c3fc8f05105 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -176,3 +176,19 @@ jobs: pytest pandas/tests/frame/indexing/test_setitem.py::TestDataFrameSetItem::test_setitem_listlike_indexer_duplicate_columns pytest pandas/tests/indexing/multiindex/test_setitem.py::TestMultiIndexSetItem::test_astype_assignment_with_dups pytest pandas/tests/indexing/multiindex/test_setitem.py::TestMultiIndexSetItem::test_frame_setitem_multi_column + + pytest pandas/tests/api/ + pytest pandas/tests/base/ + pytest pandas/tests/computation/ + pytest pandas/tests/config/ + pytest pandas/tests/dtypes/ + pytest pandas/tests/generic/ + pytest pandas/tests/indexes/ + pytest pandas/tests/libs/ + pytest pandas/tests/plotting/ + pytest pandas/tests/scalar/ + pytest pandas/tests/strings/ + pytest pandas/tests/tools/ + pytest pandas/tests/tseries/ + pytest pandas/tests/tslibs/ + pytest pandas/tests/util/ diff --git a/pandas/tests/generic/test_generic.py b/pandas/tests/generic/test_generic.py index 8574589cb27bb..d07f843f4acfc 100644 --- a/pandas/tests/generic/test_generic.py +++ b/pandas/tests/generic/test_generic.py @@ -85,7 +85,7 @@ def test_rename(self): # multiple axes at once - def test_get_numeric_data(self): + def test_get_numeric_data(self, using_array_manager): n = 4 kwargs = { @@ -100,6 +100,9 @@ def test_get_numeric_data(self): # non-inclusion result = o._get_bool_data() expected = self._construct(n, value="empty", **kwargs) + if using_array_manager and isinstance(o, DataFrame): + # INFO(ArrayManager) preserve the dtype of the columns Index + expected.columns = expected.columns.astype("int64") self._compare(result, expected) # get the bool data