summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2022-10-20 22:38:39 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2022-10-20 22:38:39 +0200
commit44721d7fc3e02d5afcc4236fc1463f64f4530862 (patch)
treeea9106c7fb9489f795101daddaa562557193a653
parent085691ac46b060aeb6d17a202fcc33062f61d9b5 (diff)
parent669b672dc7acc696376e5ca8104cf01086fe6f8c (diff)
downloadpsutil-44721d7fc3e02d5afcc4236fc1463f64f4530862.tar.gz
Merge branch 'master' of github.com:giampaolo/psutil
-rwxr-xr-xpsutil/tests/test_contracts.py3
-rwxr-xr-xpsutil/tests/test_memleaks.py3
-rwxr-xr-xpsutil/tests/test_system.py3
3 files changed, 6 insertions, 3 deletions
diff --git a/psutil/tests/test_contracts.py b/psutil/tests/test_contracts.py
index fde857b6..3b806ee3 100755
--- a/psutil/tests/test_contracts.py
+++ b/psutil/tests/test_contracts.py
@@ -237,7 +237,8 @@ class TestSystemAPITypes(PsutilTestCase):
self.assertIsInstance(psutil.cpu_count(), int)
# TODO: remove this once 1892 is fixed
- @unittest.skipIf(MACOS and platform.machine() == 'arm64', "skipped due to #1892")
+ @unittest.skipIf(MACOS and platform.machine() == 'arm64',
+ "skipped due to #1892")
@unittest.skipIf(not HAS_CPU_FREQ, "not supported")
def test_cpu_freq(self):
if psutil.cpu_freq() is None:
diff --git a/psutil/tests/test_memleaks.py b/psutil/tests/test_memleaks.py
index 8d31193b..dbd1588d 100755
--- a/psutil/tests/test_memleaks.py
+++ b/psutil/tests/test_memleaks.py
@@ -366,7 +366,8 @@ class TestModuleFunctionsLeaks(TestMemoryLeak):
@fewtimes_if_linux()
# TODO: remove this once 1892 is fixed
- @unittest.skipIf(MACOS and platform.machine() == 'arm64', "skipped due to #1892")
+ @unittest.skipIf(MACOS and platform.machine() == 'arm64',
+ "skipped due to #1892")
@unittest.skipIf(not HAS_CPU_FREQ, "not supported")
def test_cpu_freq(self):
self.execute(psutil.cpu_freq)
diff --git a/psutil/tests/test_system.py b/psutil/tests/test_system.py
index 42b29e8f..1722b515 100755
--- a/psutil/tests/test_system.py
+++ b/psutil/tests/test_system.py
@@ -513,7 +513,8 @@ class TestCpuAPIs(PsutilTestCase):
self.assertGreater(value, 0)
# TODO: remove this once 1892 is fixed
- @unittest.skipIf(MACOS and platform.machine() == 'arm64', "skipped due to #1892")
+ @unittest.skipIf(MACOS and platform.machine() == 'arm64',
+ "skipped due to #1892")
@unittest.skipIf(not HAS_CPU_FREQ, "not supported")
def test_cpu_freq(self):
def check_ls(ls):