Description
xref conda-forge/pandas-feedstock#147
When installing pandas and trying to run pd.test(["-m slow"])
, -m slow
will not necessarily be respected because our custom markers are defined in pyproject.toml
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.9/site-packages/pandas/tests/io/test_html.py:375
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.9/site-packages/pandas/tests/io/test_html.py:375
$PREFIX/lib/python3.9/site-packages/pandas/tests/io/test_html.py:375: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.slow
Since pd.test
runs with pytest.main
which doesn't have a way to register the custom markers, pd.test
is not fully working when running from a package.