Ignore:
Timestamp:
May 7, 2024, 4:43:41 PM (3 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
083e637
Parents:
0f4c513
Message:

update search strings to raw strings for python 3.12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/pybin/tools.py

    r0f4c513 r195d1d8  
    120120                return (False, "'file EXPECT' failed with code {} '{}'".format(code, err))
    121121
    122         match = re.search(".*: (.*)", out)
     122        match = re.search(r".*: (.*)", out)
    123123
    124124        if not match:
     
    306306                sys.exit(1)
    307307
    308         re_jobs = re.search("--jobserver-(auth|fds)", out)
     308        re_jobs = re.search(r"--jobserver-(auth|fds)", out)
    309309        if not re_jobs:
    310310                print("ERROR: cannot find Makefile jobserver version", file=sys.stderr)
Note: See TracChangeset for help on using the changeset viewer.