Skip to content

Commit

Permalink
[ArrayManager] TST: activate a bunch of (passing) tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Mar 4, 2021
1 parent f466f0f commit e7209aa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,19 @@ jobs:
pytest pandas/tests/frame/indexing/test_setitem.py::TestDataFrameSetItem::test_setitem_listlike_indexer_duplicate_columns --array-manager
pytest pandas/tests/indexing/multiindex/test_setitem.py::TestMultiIndexSetItem::test_astype_assignment_with_dups --array-manager
pytest pandas/tests/indexing/multiindex/test_setitem.py::TestMultiIndexSetItem::test_frame_setitem_multi_column --array-manager
pytest pandas/tests/api/ --array-manager
pytest pandas/tests/base/ --array-manager
pytest pandas/tests/computation/ --array-manager
pytest pandas/tests/config/ --array-manager
pytest pandas/tests/dtypes/ --array-manager
pytest pandas/tests/generic/ --array-manager
pytest pandas/tests/indexes/ --array-manager
pytest pandas/tests/libs/ --array-manager
pytest pandas/tests/plotting/ --array-manager
pytest pandas/tests/scalar/ --array-manager
pytest pandas/tests/strings/ --array-manager
pytest pandas/tests/tools/ --array-manager
pytest pandas/tests/tseries/ --array-manager
pytest pandas/tests/tslibs/ --array-manager
pytest pandas/tests/util/ --array-manager
5 changes: 4 additions & 1 deletion pandas/tests/generic/test_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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
Expand Down

0 comments on commit e7209aa

Please sign in to comment.