tests/run-tests.py
changeset 31827 220d4bffd23e
parent 31741 728d37353e1e
child 31829 4eec2f04a672
equal deleted inserted replaced
31826:9fce17c4a7b3 31827:220d4bffd23e
  1383                 return TTest.rematch(el[:-6], l) or retry
  1383                 return TTest.rematch(el[:-6], l) or retry
  1384             if el.endswith(b" (glob)\n"):
  1384             if el.endswith(b" (glob)\n"):
  1385                 # ignore '(glob)' added to l by 'replacements'
  1385                 # ignore '(glob)' added to l by 'replacements'
  1386                 if l.endswith(b" (glob)\n"):
  1386                 if l.endswith(b" (glob)\n"):
  1387                     l = l[:-8] + b"\n"
  1387                     l = l[:-8] + b"\n"
  1388                 return TTest.globmatch(el[:-8], l)
  1388                 return TTest.globmatch(el[:-8], l) or retry
  1389             if os.altsep and l.replace(b'\\', b'/') == el:
  1389             if os.altsep and l.replace(b'\\', b'/') == el:
  1390                 return b'+glob'
  1390                 return b'+glob'
  1391         return retry
  1391         return retry
  1392 
  1392 
  1393     @staticmethod
  1393     @staticmethod