Skip to content

Commit 4cec326

Browse files
authored
TST: Remove arraymanager pytest mark (#56552)
1 parent 854012c commit 4cec326

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

pandas/conftest.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -188,19 +188,15 @@ def pytest_collection_modifyitems(items, config) -> None:
188188
("read_parquet", "Passing a BlockManager to DataFrame is deprecated"),
189189
]
190190

191-
for item in items:
192-
if is_doctest:
191+
if is_doctest:
192+
for item in items:
193193
# autouse=True for the add_doctest_imports can lead to expensive teardowns
194194
# since doctest_namespace is a session fixture
195195
item.add_marker(pytest.mark.usefixtures("add_doctest_imports"))
196196

197197
for path, message in ignored_doctest_warnings:
198198
ignore_doctest_warning(item, path, message)
199199

200-
# mark all tests in the pandas/tests/frame directory with "arraymanager"
201-
if "/frame/" in item.nodeid:
202-
item.add_marker(pytest.mark.arraymanager)
203-
204200

205201
hypothesis_health_checks = [hypothesis.HealthCheck.too_slow]
206202
if Version(hypothesis.__version__) >= Version("6.83.2"):

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,6 @@ markers = [
523523
"db: tests requiring a database (mysql or postgres)",
524524
"clipboard: mark a pd.read_clipboard test",
525525
"arm_slow: mark a test as slow for arm64 architecture",
526-
"arraymanager: mark a test to run with ArrayManager enabled",
527526
]
528527

529528
[tool.mypy]

scripts/tests/data/deps_minimum.toml

-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ markers = [
382382
"db: tests requiring a database (mysql or postgres)",
383383
"clipboard: mark a pd.read_clipboard test",
384384
"arm_slow: mark a test as slow for arm64 architecture",
385-
"arraymanager: mark a test to run with ArrayManager enabled",
386385
]
387386

388387
[tool.mypy]

0 commit comments

Comments
 (0)