diff --git a/pandas/conftest.py b/pandas/conftest.py index 7bfd1b35f5314..2d8f9442d4e76 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -188,8 +188,8 @@ def pytest_collection_modifyitems(items, config) -> None: ("read_parquet", "Passing a BlockManager to DataFrame is deprecated"), ] - for item in items: - if is_doctest: + if is_doctest: + for item in items: # autouse=True for the add_doctest_imports can lead to expensive teardowns # since doctest_namespace is a session fixture item.add_marker(pytest.mark.usefixtures("add_doctest_imports")) @@ -197,10 +197,6 @@ def pytest_collection_modifyitems(items, config) -> None: for path, message in ignored_doctest_warnings: ignore_doctest_warning(item, path, message) - # mark all tests in the pandas/tests/frame directory with "arraymanager" - if "/frame/" in item.nodeid: - item.add_marker(pytest.mark.arraymanager) - hypothesis_health_checks = [hypothesis.HealthCheck.too_slow] if Version(hypothesis.__version__) >= Version("6.83.2"): diff --git a/pyproject.toml b/pyproject.toml index f6ba25f448540..7b7332108815f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -523,7 +523,6 @@ markers = [ "db: tests requiring a database (mysql or postgres)", "clipboard: mark a pd.read_clipboard test", "arm_slow: mark a test as slow for arm64 architecture", - "arraymanager: mark a test to run with ArrayManager enabled", ] [tool.mypy] diff --git a/scripts/tests/data/deps_minimum.toml b/scripts/tests/data/deps_minimum.toml index 046dccb470daa..f8535635e12ab 100644 --- a/scripts/tests/data/deps_minimum.toml +++ b/scripts/tests/data/deps_minimum.toml @@ -382,7 +382,6 @@ markers = [ "db: tests requiring a database (mysql or postgres)", "clipboard: mark a pd.read_clipboard test", "arm_slow: mark a test as slow for arm64 architecture", - "arraymanager: mark a test to run with ArrayManager enabled", ] [tool.mypy]