You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While looking at a CI job output I noticed a lot of warnings like:
test_dask_tsvd.py:93
/__w/cuml/cuml/python/cuml/cuml/tests/dask/test_dask_tsvd.py:93: PytestUnknownMarkWarning: Unknown pytest.mark.mg - 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.mg
which I thought "oh well, this is easy to fix" - except when I looked at pyproject.toml there is already an entry for the mg mark. One mark is added in the conftest.py but I think this shouldn't overwrite the settings from the toml.
Does someone who knows more about how the tests are run have an idea why the config is maybe not found/respected?
The text was updated successfully, but these errors were encountered:
Yep I think "having pytest configuration in both pytest.ini and pyproject.toml" was the issue! Consolidating into pyproject.toml, I no longer see those warnings in test logs.
While looking at a CI job output I noticed a lot of warnings like:
which I thought "oh well, this is easy to fix" - except when I looked at
pyproject.toml
there is already an entry for themg
mark. One mark is added in theconftest.py
but I think this shouldn't overwrite the settings from the toml.Does someone who knows more about how the tests are run have an idea why the config is maybe not found/respected?
The text was updated successfully, but these errors were encountered: