summaryrefslogtreecommitdiff
path: root/psutil/tests/test_osx.py
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/tests/test_osx.py')
-rwxr-xr-xpsutil/tests/test_osx.py2
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(