Show More
@@ -1451,10 +1451,7 class TTest(Test): | |||
|
1451 | 1451 | |
|
1452 | 1452 | r = self.linematch(el, lout) |
|
1453 | 1453 | if isinstance(r, str): |
|
1454 |
if r == ' |
|
|
1455 | lout = el[:-1] + ' (glob)\n' | |
|
1456 | r = '' # Warn only this line. | |
|
1457 | elif r == '-glob': | |
|
1454 | if r == '-glob': | |
|
1458 | 1455 | lout = ''.join(el.rsplit(' (glob)', 1)) |
|
1459 | 1456 | r = '' # Warn only this line. |
|
1460 | 1457 | elif r == "retry": |
@@ -1613,7 +1610,7 class TTest(Test): | |||
|
1613 | 1610 | if os.altsep: |
|
1614 | 1611 | _l = l.replace(b'\\', b'/') |
|
1615 | 1612 | if el == _l or os.name == 'nt' and el[:-1] + b'\r\n' == _l: |
|
1616 |
return |
|
|
1613 | return True | |
|
1617 | 1614 | return retry |
|
1618 | 1615 | |
|
1619 | 1616 | @staticmethod |
General Comments 0
You need to be logged in to leave comments.
Login now