Show More
@@ -1111,21 +1111,21 b' class TTest(Test):' | |||||
1111 | el = None |
|
1111 | el = None | |
1112 | if expected.get(pos, None): |
|
1112 | if expected.get(pos, None): | |
1113 | el = expected[pos].pop(0) |
|
1113 | el = expected[pos].pop(0) | |
1114 |
|
1114 | if True: | ||
1115 | r = TTest.linematch(el, lout) |
|
1115 | r = TTest.linematch(el, lout) | |
1116 | if isinstance(r, str): |
|
1116 | if isinstance(r, str): | |
1117 | if r == '+glob': |
|
1117 | if r == '+glob': | |
1118 | lout = el[:-1] + ' (glob)\n' |
|
1118 | lout = el[:-1] + ' (glob)\n' | |
1119 | r = '' # Warn only this line. |
|
1119 | r = '' # Warn only this line. | |
1120 | elif r == '-glob': |
|
1120 | elif r == '-glob': | |
1121 | lout = ''.join(el.rsplit(' (glob)', 1)) |
|
1121 | lout = ''.join(el.rsplit(' (glob)', 1)) | |
1122 | r = '' # Warn only this line. |
|
1122 | r = '' # Warn only this line. | |
1123 | elif r == "retry": |
|
1123 | elif r == "retry": | |
1124 | postout.append(b' ' + el) |
|
1124 | postout.append(b' ' + el) | |
1125 | continue |
|
1125 | continue | |
1126 | else: |
|
1126 | else: | |
1127 | log('\ninfo, unknown linematch result: %r\n' % r) |
|
1127 | log('\ninfo, unknown linematch result: %r\n' % r) | |
1128 | r = False |
|
1128 | r = False | |
1129 | if r: |
|
1129 | if r: | |
1130 | postout.append(b' ' + el) |
|
1130 | postout.append(b' ' + el) | |
1131 | else: |
|
1131 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now