summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2021-08-06 13:24:41 (GMT)
committerMats Wichmann <mats@linux.com>2021-08-06 13:24:41 (GMT)
commitcb207f92671d14973663bc61e545144a13e0855f (patch)
treedf2d6d86231615b6b50e9c468563f752860801f2
parentda036ecc3c7717f8548e448cf15f337c22f2de47 (diff)
downloadSCons-cb207f92671d14973663bc61e545144a13e0855f.zip
SCons-cb207f92671d14973663bc61e545144a13e0855f.tar.gz
SCons-cb207f92671d14973663bc61e545144a13e0855f.tar.bz2
Add Py3.10 test change missed in PR 3993
This change to an e2e test was supposed to part of the fixes for the new "friendly" syntax error messages in Py3.10, but missed the commit somehow. Signed-off-by: Mats Wichmann <mats@linux.com>
-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