Skip to content

Commit 7c4d184

Browse files
committed
more debug
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
1 parent 7dcf0fd commit 7c4d184

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

psutil/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ def exe(self):
708708
May also be an empty string.
709709
The return value is cached after first call.
710710
"""
711-
711+
print("EXE")
712712
def guess_it(fallback):
713713
# try to guess exe from cmdline[0] in absence of a native
714714
# exe representation

psutil/tests/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ def macos_version():
214214
atexit.register(functools.partial(print, traceback.format_exc()))
215215
HAS_BATTERY = False
216216
try:
217-
HAS_CPU_FREQ = hasattr(psutil, "cpu_freq") and bool(psutil.cpu_freq())
217+
# HAS_CPU_FREQ = hasattr(psutil, "cpu_freq") and bool(psutil.cpu_freq())
218+
HAS_CPU_FREQ = True
218219
except Exception: # noqa: BLE001
219220
atexit.register(functools.partial(print, traceback.format_exc()))
220221
HAS_CPU_FREQ = False

0 commit comments

Comments
 (0)