def get_num_ctx_switches(self, ret):
        self.assertTrue(ret.voluntary >= 0)
        self.assertTrue(ret.involuntary >= 0)
dataset/ETHPy150Open packages/psutil/test/test_psutil.py/TestFetchAllProcesses.get_num_ctx_switches/original