Skip to content

Commit

Permalink
relax test tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Dec 28, 2024
1 parent 3be9efe commit f4b5498
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.5
< 2
)

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

0 comments on commit f4b5498

Please sign in to comment.