From 67cbcb1fabc677b2fcbac4187992d43c51cf3874 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Tue, 18 Apr 2017 21:11:17 -0700 Subject: py2/3 - syntax for wrong number of arguments to functions changes for py3, added to valid output --- test/Subst/TypeError.py | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v0.12