Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Dec 17, 2023
1 parent e42e960 commit 5476b29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions psutil/tests/test_contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,10 @@ def test_all(self):
try:
meth(value, info)
except Exception:
ff = str(psutil.Process(info['pid']).as_dict())
s = '\n' + '=' * 70 + '\n'
s += "FAIL: name=test_%s, pid=%s, ret=%s\n" % (
name, info['pid'], repr(value))
s += "FAIL: name=test_%s, pid=%s, ret=%s as_dict=%s\n" % (
name, info['pid'], repr(value), ff)
s += '-' * 70
s += "\n%s" % traceback.format_exc()
s = "\n".join((" " * 4) + i for i in s.splitlines()) + "\n"
Expand Down

0 comments on commit 5476b29

Please sign in to comment.