summaryrefslogtreecommitdiffstats
path: root/test/runtest/python.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/runtest/python.py')
-rw-r--r--test/runtest/python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runtest/python.py b/test/runtest/python.py
index 14156e0..da62378 100644
--- a/test/runtest/python.py
+++ b/test/runtest/python.py
@@ -55,7 +55,7 @@ mypython = os.path.normpath(os.path.join(head, dir, os.path.pardir, dir, python)
def escape(s):
return s.replace('\\', '\\\\')
-if re.search('\s', mypython):
+if re.search(r'\s', mypython):
mypythonstring = '"%s"' % escape(mypython)
else:
mypythonstring = escape(mypython)