giampaolo / psutil

Cross-platform lib for process and system monitoring in Python
BSD 3-Clause "New" or "Revised" License
10.3k stars 1.39k forks source link

Pytest, use bare `assert` statements #2453

Closed giampaolo closed 1 month ago

giampaolo commented 1 month ago

Summary

Description

This is a follow up of https://github.com/giampaolo/psutil/pull/2447. In there we changed the runner. In here we get rid of unittest's self.assert* APIs and use the bare assert keyword instead.