Skip to content

Commit

Permalink
fix osx test
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Jan 30, 2017
1 parent 89a729e commit d717b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psutil/tests/test_osx.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def test_cpu_count_physical(self):
self.assertEqual(num, psutil.cpu_count(logical=False))

def test_cpu_freq(self):
freq = psutil.cpu_freq()[0]
freq = psutil.cpu_freq()
self.assertEqual(
freq.current * 1000 * 1000, sysctl("sysctl hw.cpufrequency"))
self.assertEqual(
Expand Down

0 comments on commit d717b45

Please sign in to comment.