The setuptools test command has been formally deprecated since version
41.5.0 (27 Oct 2019). The project recommends replacing its use with tox
as a project level testing entrypoint.
Fixes the warning when running tests:
WARNING: Testing via this command is deprecated and will be removed in
a future version. Users looking for a generic test entry point
independent of test runner are encouraged to use tox.
The setuptools test command has been formally deprecated since version 41.5.0 (27 Oct 2019). The project recommends replacing its use with tox as a project level testing entrypoint.
Fixes the warning when running tests:
For more details, see the setuptools history: https://setuptools.readthedocs.io/en/latest/history.html#v41-5-0
And the command's documentation: https://setuptools.readthedocs.io/en/latest/setuptools.html#test-build-package-and-run-a-unittest-suite