Skip to content

Commit

Permalink
increase tolerance of flaky CPU test on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Dec 20, 2024
1 parent e714976 commit de66f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psutil/tests/test_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def test_cpu_times_comparison(self):
with self.subTest(field=field, base=base, per_cpu=per_cpu):
assert (
abs(getattr(base, field) - getattr(summed_values, field))
< 1
< 1.5
)

def _test_cpu_percent(self, percent, last_ret, new_ret):
Expand Down

0 comments on commit de66f8b

Please sign in to comment.