Skip to content

Commit

Permalink
relax test
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Oct 3, 2024
1 parent bc85cf2 commit cb74927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psutil/tests/test_posix.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def test_disk_usage(self):
assert abs(usage.total - sys_total) < tolerance
assert abs(usage.used - sys_used) < tolerance
assert abs(usage.free - sys_free) < tolerance
assert abs(usage.percent - sys_percent) < 1
assert abs(usage.percent - sys_percent) <= 1


@unittest.skipIf(not POSIX, "POSIX only")
Expand Down

0 comments on commit cb74927

Please sign in to comment.