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
{{ message }}
Repository navigation
Using pytest 9.1.0 leads to test collection errors #209
The Github test workflows use the latest version of pytest, which is leading to collection errors if 9.1.0 is used:
PS C:\Users\ddb29996\python-RAT> pytest tests
=============================================== test session starts ===============================================
platform win32 -- Python 3.10.12, pytest-9.1.0, pluggy-1.5.0
rootdir: C:\Users\ddb29996\python-RAT
configfile: pyproject.toml
plugins: anyio-4.1.0, Faker-37.11.0, cov-7.1.0
collected 1044 items / 1 error
===================================================== ERRORS ======================================================
_____________________________________ ERROR collecting tests/test_plotting.py _____________________________________
tests/test_plotting.py::test_figure_axis_formatting: duplicate parametrization of 'fig'
============================================= short test summary info =============================================
ERROR tests/test_plotting.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================ 1 error in 2.90s =================================================
PS C:\Users\ddb29996\python-RAT>
This seems to be an ongoing error with Pytest which other repos have reported (e.g. scipy) and it is probably best to exclude 9.1.0 from the toml file while this is sorted out.
Activity