Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PytestUnknownMarkWarning in tests #22

Open
mslw opened this issue Mar 21, 2023 · 0 comments
Open

PytestUnknownMarkWarning in tests #22

mslw opened this issue Mar 21, 2023 · 0 comments

Comments

@mslw
Copy link
Collaborator

mslw commented Mar 21, 2023

I am seeing the following warning when running tests:

../../../.virtualenvs/dl-redcap/lib/python3.9/site-packages/datalad/tests/utils_pytest.py:69
  /home/mszczepanik/.virtualenvs/dl-redcap/lib/python3.9/site-packages/datalad/tests/utils_pytest.py:69: PytestUnknownMarkWarning: Unknown pytest.mark.skip_if_on_windows - 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
    return getattr(pytest.mark, name)

Seems to be coming from DataLad core -- or is it a misconfiguration issue in the extension? Does anyone know?

It doesn't seem to cause any problems, but is annoying (another warning shown is a deprecation warning from boto, also in core, but this will hopefully be addressed in 0.19).

Using DataLad 0.18.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant