diff options
Diffstat (limited to 'psutil/tests/test_osx.py')
-rwxr-xr-x | psutil/tests/test_osx.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/tests/test_osx.py b/psutil/tests/test_osx.py index 6e7a5891..69d6c840 100755 --- a/psutil/tests/test_osx.py +++ b/psutil/tests/test_osx.py @@ -151,7 +151,7 @@ class TestSystemAPIs(unittest.TestCase): 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( |