summaryrefslogtreecommitdiffstats
path: root/test/Subst/SyntaxError.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Subst/SyntaxError.py')
-rw-r--r--test/Subst/SyntaxError.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Subst/SyntaxError.py b/test/Subst/SyntaxError.py
index 21d0d0b..34fbc15 100644
--- a/test/Subst/SyntaxError.py
+++ b/test/Subst/SyntaxError.py
@@ -34,7 +34,7 @@ import TestSCons
test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)
-expect_build = r"""scons: \*\*\*%s SyntaxError `(invalid syntax|Unknown character)( \((<string>, )?line 1\))?' trying to evaluate `%s'
+expect_build = r"""scons: \*\*\*%s SyntaxError `invalid syntax( |\. Perhaps you forgot a comma\? )\(<string>, line 1\)?' trying to evaluate `%s'
"""
expect_read = "\n" + expect_build + TestSCons.file_expr