diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-04-19 04:11:17 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-04-19 04:11:17 (GMT) |
commit | 67cbcb1fabc677b2fcbac4187992d43c51cf3874 (patch) | |
tree | ce945795e2d21b8ac18e00a437983a5675af3082 /test/Subst | |
parent | 18f73fb6ea41b50710dc40c10d6bf4ba9af7a02e (diff) | |
download | SCons-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.py | 4 |
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 |