diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-04-18 21:11:17 -0700 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-04-18 21:11:17 -0700 |
commit | 68b5cd43788d12bf2004107f42853c124b7c2bfd (patch) | |
tree | ce945795e2d21b8ac18e00a437983a5675af3082 /test/Subst | |
parent | 6f88cf66d3b8e7eeaebc3eb1987211f985238719 (diff) | |
download | scons-68b5cd43788d12bf2004107f42853c124b7c2bfd.tar.gz |
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 371ceffb..628db2f2 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 |