Skip to content

Commit 9b1ce48

Browse files
committed
Add comment
1 parent 3f320dd commit 9b1ce48

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎Lib/test/test_regrtest.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1772,7 +1772,10 @@ def path(name):
17721772
crash: f'### {crash} worker non-zero exit code',
17731773
}
17741774

1775-
for args in (['-j2', '-W'], ['-j2', '--rerun'], ['-j0', '-W']):
1775+
# Only failures of the last run are annotated: with --rerun and -W,
1776+
# failures of the first run are reported, but not annotated
1777+
for args in (['-j2', '-W'], ['-j2', '--rerun'],
1778+
['-j2', '-W', '--rerun'], ['-j0', '-W']):
17761779
tests = list(test_files)
17771780
if '-j0' in args:
17781781
# A crash kills the main process

0 commit comments

Comments
 (0)