mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 19:36:44 +02:00
15 lines
646 B
Diff
15 lines
646 B
Diff
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:
|