diff options
author | Thomas Tanner <trtanner@btinternet.com> | 2016-01-30 22:39:17 +0000 |
---|---|---|
committer | Thomas Tanner <trtanner@btinternet.com> | 2016-01-30 22:39:17 +0000 |
commit | 92fd45b8c36d14e9a4edb2a4b5a78882167e7525 (patch) | |
tree | 912fb4db4a3e452f811ab3a922a05d76bf4dba10 /test/ESCAPE.py | |
parent | cefa78744e92f319112c1a5fc26f34727e9bbc5c (diff) | |
download | scons-92fd45b8c36d14e9a4edb2a4b5a78882167e7525.tar.gz |
Fix for backslash being treated as an escape character
On my windows system, my python is in c:\apps\32\python. Theres a lot of places
where that \32 gets turned into an ascii character and the unit tests don't run.
Diffstat (limited to 'test/ESCAPE.py')
-rw-r--r-- | test/ESCAPE.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ESCAPE.py b/test/ESCAPE.py index 0651b92d..819d60b0 100644 --- a/test/ESCAPE.py +++ b/test/ESCAPE.py @@ -51,7 +51,7 @@ def my_escape(s): s = s.replace('file.in', 'file.xxx') return orig_escape(s) env = Environment(ESCAPE = my_escape) -env.Command('file.out', 'file.in', '%(_python_)s cat.py $TARGET $SOURCES') +env.Command('file.out', 'file.in', r'%(_python_)s cat.py $TARGET $SOURCES') """ % locals()) test.write('file.in', "file.in\n") |