Closed giampaolo closed 1 month ago
I recently did this for pyftpdlib https://github.com/giampaolo/pyftpdlib/pull/628.
Reasons:
self.assert*
pytest-xdist
pytest
python3 -m psutil.tests
unittest
Fixed in https://github.com/giampaolo/psutil/pull/2447, https://github.com/giampaolo/psutil/pull/2453, #2456, #2459, #2461.
I recently did this for pyftpdlib https://github.com/giampaolo/pyftpdlib/pull/628.
Reasons:
self.assert*
APIs (easier to read, shorter to type)pytest-xdist
extension allows for parallel test execution, so we can get rid of our internal implementation (less code to maintain) - DONE in #2447pytest
may not be installed, we still want to be able to test psutil installation viapython3 -m psutil.tests
by usingunittest
test runner - DONE in #2456.