Index: tests/pybin/tools.py
===================================================================
--- tests/pybin/tools.py	(revision 950c58e5affa0dfadc94439fbe02b463ccdfaa3a)
+++ tests/pybin/tools.py	(revision 07e9df1e21fb57bb093460e2671a8b1e2add9d74)
@@ -120,5 +120,5 @@
 		return (False, "'file EXPECT' failed with code {} '{}'".format(code, err))
 
-	match = re.search(".*: (.*)", out)
+	match = re.search(r".*: (.*)", out)
 
 	if not match:
@@ -306,5 +306,5 @@
 		sys.exit(1)
 
-	re_jobs = re.search("--jobserver-(auth|fds)", out)
+	re_jobs = re.search(r"--jobserver-(auth|fds)", out)
 	if not re_jobs:
 		print("ERROR: cannot find Makefile jobserver version", file=sys.stderr)
