diff tests/run-tests.py @ 38551:174484b2528d

tests: remove some redundant code in run-tests These two lines also happen below if "r" is truthy, which it is in this case since it's equal to "retry". Differential Revision: https://phab.mercurial-scm.org/D3878
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 02 Jul 2018 00:05:54 -0700
parents 296648321710
children 5a20b6090a6e
line wrap: on
line diff
--- a/tests/run-tests.py	Mon Jul 02 00:02:31 2018 -0700
+++ b/tests/run-tests.py	Mon Jul 02 00:05:54 2018 -0700
@@ -1490,8 +1490,6 @@
                             r = '' # Warn only this line.
                         elif r == "retry":
                             postout.append(b'  ' + el)
-                            els.pop(i)
-                            break
                         else:
                             log('\ninfo, unknown linematch result: %r\n' % r)
                             r = False