pepkit / looper

A job submitter for Portable Encapsulated Projects
http://looper.databio.org
BSD 2-Clause "Simplified" License
20 stars 7 forks source link

PyTestReturnNotNoneWarning #491

Closed donaldcampbelljr closed 1 week ago

donaldcampbelljr commented 1 month ago

Seeing some of these warnings in the testing suite via the test_args_expansion function:

PytestReturnNotNoneWarning: Expected None, but tests/test_comprehensive.py::test_args_expansion returned ['--dry-run'], which will be an error in a future version of pytest
donaldcampbelljr commented 1 week ago

Ok, after some further reading, it appears that this will remain a warning and the comment that it will become an error in the future is no longer true. These changes appear in pytest 8.3.0. Currently, the most recent version is 8.2.2. Therefore, I'm closing this issue.