summaryrefslogtreecommitdiffstats
path: root/test/Subst
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-19 04:11:17 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-19 04:11:17 (GMT)
commit67cbcb1fabc677b2fcbac4187992d43c51cf3874 (patch)
treece945795e2d21b8ac18e00a437983a5675af3082 /test/Subst
parent18f73fb6ea41b50710dc40c10d6bf4ba9af7a02e (diff)
downloadSCons-67cbcb1fabc677b2fcbac4187992d43c51cf3874.zip
SCons-67cbcb1fabc677b2fcbac4187992d43c51cf3874.tar.gz
SCons-67cbcb1fabc677b2fcbac4187992d43c51cf3874.tar.bz2
py2/3 - syntax for wrong number of arguments to functions changes for py3, added to valid output
Diffstat (limited to 'test/Subst')
-rw-r--r--test/Subst/TypeError.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Subst/TypeError.py b/test/Subst/TypeError.py
index 371ceff..628db2f 100644
--- a/test/Subst/TypeError.py
+++ b/test/Subst/TypeError.py
@@ -58,9 +58,7 @@ expect = expect_build % (r' \[foo\.bar\]', r'\$\{NONE\[0\]\}')
test.run(status=2, stderr=expect)
-
-
-expect_build = r"""scons: \*\*\*%s TypeError `(not enough arguments; expected 3, got 1|func\(\) takes exactly 3 arguments \(1 given\))' trying to evaluate `%s'
+expect_build = r"""scons: \*\*\*%s TypeError `(not enough arguments; expected 3, got 1|func\(\) takes exactly 3 arguments \(1 given\)|func\(\) missing 2 required positional arguments: 'b' and 'c')' trying to evaluate `%s'
"""
expect_read = "\n" + expect_build + TestSCons.file_expr