-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Labels
BugBuildLibrary building on various platformsLibrary building on various platformsTestingpandas testing functions or related to the test suitepandas testing functions or related to the test suite
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.
Metadata
Metadata
Assignees
Labels
BugBuildLibrary building on various platformsLibrary building on various platformsTestingpandas testing functions or related to the test suitepandas testing functions or related to the test suite