From bbd5097aa899f43492e5cb189daa0c729db9157d Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Thu, 18 Mar 2021 08:45:21 +0100 Subject: [PATCH 1/2] [ArrayManager] TST: enable remaining top-level tests --- .github/workflows/ci.yml | 1 + pandas/tests/test_downstream.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b40670d743e18..ccc9ee59efcef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -165,6 +165,7 @@ jobs: pytest pandas/tests/series/ pytest pandas/tests/indexing/ + pytest pandas/tests/test_* pytest pandas/tests/api/ pytest pandas/tests/apply/ pytest pandas/tests/arrays/ diff --git a/pandas/tests/test_downstream.py b/pandas/tests/test_downstream.py index 911f1c7ebe31c..ea95f90d3a2cb 100644 --- a/pandas/tests/test_downstream.py +++ b/pandas/tests/test_downstream.py @@ -29,6 +29,9 @@ def df(): return DataFrame({"A": [1, 2, 3]}) +# TODO(ArrayManager) dask is still accessing the blocks +# https://github.com/dask/dask/pull/7318 +@td.skip_array_manager_not_yet_implemented def test_dask(df): toolz = import_module("toolz") # noqa From f78309e947aa1d6193ffc584adeafae9950f0968 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Thu, 18 Mar 2021 08:51:26 +0100 Subject: [PATCH 2/2] add internals --- .github/workflows/ci.yml | 1 + pandas/tests/internals/test_internals.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccc9ee59efcef..014c666a17084 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -176,6 +176,7 @@ jobs: pytest pandas/tests/extension/ pytest pandas/tests/generic/ pytest pandas/tests/indexes/ + pytest pandas/tests/internals/ pytest pandas/tests/io/test_* -m "not slow and not clipboard" pytest pandas/tests/io/excel/ -m "not slow and not clipboard" pytest pandas/tests/io/formats/ -m "not slow and not clipboard" diff --git a/pandas/tests/internals/test_internals.py b/pandas/tests/internals/test_internals.py index ba85ff1a044d6..c63d5271f1fae 100644 --- a/pandas/tests/internals/test_internals.py +++ b/pandas/tests/internals/test_internals.py @@ -9,6 +9,7 @@ import pytest from pandas._libs.internals import BlockPlacement +import pandas.util._test_decorators as td from pandas.core.dtypes.common import is_scalar @@ -38,6 +39,10 @@ ) from pandas.core.internals.blocks import new_block +# this file contains BlockManager specific tests +# TODO(ArrayManager) factor out interleave_dtype tests +pytestmark = td.skip_array_manager_invalid_test + @pytest.fixture(params=[new_block, make_block]) def block_maker(request):