Skip to content

Commit ee50197

Browse files
[ArrayManager] TST: activate a bunch of (passing) tests (#40217)
1 parent af0a60e commit ee50197

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/ci.yml

+16
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,19 @@ jobs:
176176
pytest pandas/tests/frame/indexing/test_setitem.py::TestDataFrameSetItem::test_setitem_listlike_indexer_duplicate_columns
177177
pytest pandas/tests/indexing/multiindex/test_setitem.py::TestMultiIndexSetItem::test_astype_assignment_with_dups
178178
pytest pandas/tests/indexing/multiindex/test_setitem.py::TestMultiIndexSetItem::test_frame_setitem_multi_column
179+
180+
pytest pandas/tests/api/
181+
pytest pandas/tests/base/
182+
pytest pandas/tests/computation/
183+
pytest pandas/tests/config/
184+
pytest pandas/tests/dtypes/
185+
pytest pandas/tests/generic/
186+
pytest pandas/tests/indexes/
187+
pytest pandas/tests/libs/
188+
pytest pandas/tests/plotting/
189+
pytest pandas/tests/scalar/
190+
pytest pandas/tests/strings/
191+
pytest pandas/tests/tools/
192+
pytest pandas/tests/tseries/
193+
pytest pandas/tests/tslibs/
194+
pytest pandas/tests/util/

pandas/tests/generic/test_generic.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def test_rename(self):
8585

8686
# multiple axes at once
8787

88-
def test_get_numeric_data(self):
88+
def test_get_numeric_data(self, using_array_manager):
8989

9090
n = 4
9191
kwargs = {
@@ -100,6 +100,9 @@ def test_get_numeric_data(self):
100100
# non-inclusion
101101
result = o._get_bool_data()
102102
expected = self._construct(n, value="empty", **kwargs)
103+
if using_array_manager and isinstance(o, DataFrame):
104+
# INFO(ArrayManager) preserve the dtype of the columns Index
105+
expected.columns = expected.columns.astype("int64")
103106
self._compare(result, expected)
104107

105108
# get the bool data

0 commit comments

Comments
 (0)