Skip to content

Commit

Permalink
Add hint for mypy (only failed on 3.8)
Browse files Browse the repository at this point in the history
  • Loading branch information
asmacdo committed Sep 19, 2024
1 parent 10afaf3 commit 08dcaeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,4 +342,5 @@ def test_aggregation_no_false_peak(mock_log_paths: mock.MagicMock) -> None:
sample2.add_pid(1, stat0)
sample2.add_pid(2, stat100)
report.update_from_sample(sample2)
assert report.current_sample is not None
assert report.current_sample.total_pcpu == 100

0 comments on commit 08dcaeb

Please sign in to comment.