Skip to content

Commit

Permalink
more info
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Dec 19, 2023
1 parent f9c4296 commit 0fd041d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion psutil/tests/test_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,9 @@ def test_cpu_times_comparison(self):
per_cpu = psutil.cpu_times(percpu=True)
summed_values = base._make([sum(num) for num in zip(*per_cpu)])
for field in base._fields:
with self.subTest(field=field):
with self.subTest(
field=field, per_cpu=per_cpu, summed_values=summed_values
):
self.assertAlmostEqual(
getattr(base, field),
getattr(summed_values, field),
Expand Down

0 comments on commit 0fd041d

Please sign in to comment.