tests/run-tests.py
changeset 35382 dfae14354660
parent 35381 14fd435763ee
child 35391 0432e54f4dbe
--- a/tests/run-tests.py	Sun Dec 10 00:00:36 2017 -0500
+++ b/tests/run-tests.py	Sun Dec 10 00:16:11 2017 -0500
@@ -1451,10 +1451,7 @@
 
                     r = self.linematch(el, lout)
                     if isinstance(r, str):
-                        if r == '+glob':
-                            lout = el[:-1] + ' (glob)\n'
-                            r = '' # Warn only this line.
-                        elif r == '-glob':
+                        if r == '-glob':
                             lout = ''.join(el.rsplit(' (glob)', 1))
                             r = '' # Warn only this line.
                         elif r == "retry":
@@ -1613,7 +1610,7 @@
             if os.altsep:
                 _l = l.replace(b'\\', b'/')
                 if el == _l or os.name == 'nt' and el[:-1] + b'\r\n' == _l:
-                    return b'+glob'
+                    return True
         return retry
 
     @staticmethod