Skip to content

Commit f0d9823

Browse files
committed
fix data_lines collection of pstats lines for no-color mode
1 parent 1be0172 commit f0d9823

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_profiling/test_sampling_profiler/test_profiler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,7 @@ def test_print_sampled_stats_sort_by_name(self):
751751
and not "calls" in line # Skip summary lines
752752
and not "total time" in line # Skip summary lines
753753
and not "cumulative time" in line
754+
and not "filename:lineno(function)" in line # Skip header line
754755
): # Skip summary lines
755756
data_lines.append(line)
756757

0 commit comments

Comments
 (0)