SyntaxWarning messing up stderr of tests Ref https://github.com/boostorg/build/commit/9e3cf110dee968c08cfe15196ab0910a7fad072d --- a/tools/build/test/toolset-mock/src/MockProgram.py +++ b/tools/build/test/toolset-mock/src/MockProgram.py @@ -190,7 +190,7 @@ def allow_properties(*args): # Use this in the stdout argument of command to print the command # for running another script. def script(name): - return os.path.join(os.path.dirname(__file__), "bin", re.sub('\.py$', '', name)) + return os.path.join(os.path.dirname(__file__), "bin", re.sub('\\.py$', '', name)) def match(command_line): for (p, stdout) in known_patterns: