From 3c4ae51578c69d11f9b3b3465e1e13187b35a752 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Mon, 18 Dec 2023 00:43:43 +0100 Subject: [PATCH] tasklist --- psutil/tests/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/psutil/tests/__init__.py b/psutil/tests/__init__.py index 8e552e9ab5..852a3fc033 100644 --- a/psutil/tests/__init__.py +++ b/psutil/tests/__init__.py @@ -1295,6 +1295,9 @@ def print_sysinfo(): print("=" * 70, file=sys.stderr) # NOQA sys.stdout.flush() + if WINDOWS: + os.system("tasklist") + def _get_eligible_cpu(): p = psutil.Process()