summaryrefslogtreecommitdiffstats
path: root/test/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/errors.py')
-rw-r--r--test/errors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/errors.py b/test/errors.py
index 7e24fed..1652f88 100644
--- a/test/errors.py
+++ b/test/errors.py
@@ -190,7 +190,7 @@ env.subst('$foo.bar.3.0')
test.run(status=2, stderr="""
scons: \*\*\* Syntax error `invalid syntax( \(line 1\))?' trying to evaluate `\$foo\.bar\.3\.0'
-File "SConstruct", line 2, in \?
+File "[^"]+", line \d+, in \S+
""")
test.write('SConstruct', """\
@@ -200,7 +200,7 @@ env.subst_list('$foo.3.0.x')
test.run(status=2, stderr="""
scons: \*\*\* Syntax error `invalid syntax( \(line 1\))?' trying to evaluate `\$foo\.3\.0\.x'
-File "SConstruct", line 2, in \?
+File "[^"]+", line \d+, in \S+
""")
#Test syntax errors when trying to expand construction variables at build time: