[stable-2.7] Improve performance of no-tests-as-filters test.

(cherry picked from commit 7995f69a44)

Co-authored-by: Matt Clay <matt@mystile.com>
This commit is contained in:
Matt Clay 2019-01-08 14:00:06 -08:00
parent 100e4639aa
commit 97d07a1504

View file

@ -45,7 +45,7 @@ TEST_MAP = {
}
FILTER_RE = re.compile(r'((.+?)\s*(?P<left>[\w .\'"]+)(\s*)\|(\s*)(?P<filter>\w+))')
FILTER_RE = re.compile(r'(?P<left>[\w .\'"]+)(\s*)\|(\s*)(?P<filter>\w+)')
def main():