Genshi runs its tests with python setup.py test but setuptools==71.1.0 was the last version of setuptools that supports test running.
This PR switches the test runs to use pytest instead.
The PR does not remove support for running the tests the old way using python setup.py test when using older versions of setuptools that support it. Support may be removed at some later date.
Genshi runs its tests with
python setup.py test
butsetuptools==71.1.0
was the last version ofsetuptools
that supports test running.This PR switches the test runs to use pytest instead.
The PR does not remove support for running the tests the old way using
python setup.py test
when using older versions of setuptools that support it. Support may be removed at some later date.