summaryrefslogtreecommitdiffstats
path: root/test/runtest/python.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2019-04-28 19:43:43 (GMT)
committerGitHub <noreply@github.com>2019-04-28 19:43:43 (GMT)
commit35e6bbe16a859b42efca4592b435695a530f0717 (patch)
tree5a298b113bb1899e91583866b41eb9c337c0857e /test/runtest/python.py
parent44c7b81e1a47ff5d4439740b1e929ea723ee1f18 (diff)
parent4ecdcf07580b1bfcd03f7886b6ab9256ee825175 (diff)
downloadSCons-35e6bbe16a859b42efca4592b435695a530f0717.zip
SCons-35e6bbe16a859b42efca4592b435695a530f0717.tar.gz
SCons-35e6bbe16a859b42efca4592b435695a530f0717.tar.bz2
Merge pull request #3345 from mwichmann/py38warns4-tests
[wip] Py38warns4 tests
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)