def test_sys_per_cpu_percent(self):
        psutil.cpu_percent(interval=0.001, percpu=True)
        psutil.cpu_percent(interval=0.001, percpu=True)
        for x in range(1000):
            percents = psutil.cpu_percent(interval=None, percpu=True)
            for percent in percents:
                assert isinstance(percent, float)
                assert percent >= 0.0, percent
                assert percent <= 100.0, percent
dataset/ETHPy150Open packages/psutil/test/test_psutil.py/TestCase.test_sys_per_cpu_percent/original