Skip to content

Commit

Permalink
debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Dec 17, 2023
1 parent 60bb530 commit 7043865
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions psutil/_pswindows.py
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,7 @@ def _proc_info(self):
"""
ret = cext.proc_info(self.pid)
assert len(ret) == len(pinfo_map)
debug("proc_info = %s" % str(ret))
return ret

def name(self):
Expand Down
2 changes: 1 addition & 1 deletion psutil/tests/test_contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def name(self, ret, info):
return
# on AIX, "<exiting>" processes don't have names
if not AIX:
assert ret
assert ret, repr(ret)

def create_time(self, ret, info):
self.assertIsInstance(ret, float)
Expand Down

0 comments on commit 7043865

Please sign in to comment.