aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_call.py
diff options
context:
space:
mode:
authorBatuhan Taskaya <batuhan@python.org>2021-07-16 18:43:02 +0300
committerGitHub <noreply@github.com>2021-07-16 18:43:02 +0300
commit9af34c935185eca497617a216d141c72ffaeae9c (patch)
tree06c965d71e81caaec5193a5220709136b2f5e8d3 /Lib/test/test_call.py
parent7915c96ffd7ddc5cb6d54015ee4c31255a416892 (diff)
downloadcpython-9af34c935185eca497617a216d141c72ffaeae9c.tar.gz
cpython-9af34c935185eca497617a216d141c72ffaeae9c.zip
bpo-20201: variadic arguments support for AC (GH-18609)
Implement support for `*args` in AC, and port `print()` to use it.
Diffstat (limited to 'Lib/test/test_call.py')
-rw-r--r--Lib/test/test_call.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_call.py b/Lib/test/test_call.py
index c929ca87ddc..1d274521aeb 100644
--- a/Lib/test/test_call.py
+++ b/Lib/test/test_call.py
@@ -129,7 +129,7 @@ class CFunctionCallsErrorMessages(unittest.TestCase):
min, 0, default=1, key=2, foo=3)
def test_varargs17_kw(self):
- msg = r"^print\(\) takes at most 4 keyword arguments \(5 given\)$"
+ msg = r"'foo' is an invalid keyword argument for print\(\)$"
self.assertRaisesRegex(TypeError, msg,
print, 0, sep=1, end=2, file=3, flush=4, foo=5)