inveniosoftware / pytest-invenio

Pytest fixtures for Invenio.
https://pytest-invenio.readthedocs.io
Other
3 stars 22 forks source link

support pytest 6 #54

Closed zzacharo closed 2 years ago

zzacharo commented 4 years ago

In latest release of pytest v6.0.0 all the PytestDeprecationWarning exceptions are now by default handled as errors. A possible solution is to add to your pytest.ini:

[pytest]
filterwarnings =
    ignore::pytest.PytestDeprecationWarning

NOTE that this will not work starting v6.1.0.

We need to go through the Deprecation and Warnings section and apply all the needed changes!