Skip to content

Commit

Permalink
fix OSX tests broken by accident
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Oct 20, 2022
1 parent 11c89d9 commit 55b588a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions psutil/tests/test_osx.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,13 @@ def test_vmem_wired(self):
def test_swapmem_sin(self):
vmstat_val = vm_stat("Pageins")
psutil_val = psutil.swap_memory().sin
self.assertEqual(psutil_val, vmstat_val, delta=TOLERANCE_SYS_MEM)
self.assertAlmostEqual(psutil_val, vmstat_val, delta=TOLERANCE_SYS_MEM)

@retry_on_failure()
def test_swapmem_sout(self):
vmstat_val = vm_stat("Pageout")
psutil_val = psutil.swap_memory().sout
self.assertEqual(psutil_val, vmstat_val, delta=TOLERANCE_SYS_MEM)
self.assertAlmostEqual(psutil_val, vmstat_val, delta=TOLERANCE_SYS_MEM)

# Not very reliable.
# def test_swapmem_total(self):
Expand Down

0 comments on commit 55b588a

Please sign in to comment.