def test_NUM_CPUS(self):
        self.assertEqual(psutil.NUM_CPUS, len(psutil.cpu_times(percpu=True)))
        assert psutil.NUM_CPUS >= 1, psutil.NUM_CPUS
dataset/ETHPy150Open packages/psutil/test/test_psutil.py/TestCase.test_NUM_CPUS/original