def test_sys_cpu_times2(self):
        t1 = sum(psutil.cpu_times())
        time.sleep(0.1)
        t2 = sum(psutil.cpu_times())
        difference = t2 - t1
        if not difference >= 0.05:
            self.fail("difference %s" % difference)
dataset/ETHPy150Open packages/psutil/test/test_psutil.py/TestCase.test_sys_cpu_times2/original