diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-08-19 20:57:10 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-08-19 20:57:10 (GMT) |
commit | 2d735bc09876e8216bf6708bb598923e07a2ac4b (patch) | |
tree | b242296c96c8988ba3c783474c960432d13bef67 /Lib/test/test_keywordonlyarg.py | |
parent | de0de885f77d40ddb7e9f2afc8be5a99b9cf01ec (diff) | |
download | cpython-2d735bc09876e8216bf6708bb598923e07a2ac4b.zip cpython-2d735bc09876e8216bf6708bb598923e07a2ac4b.tar.gz cpython-2d735bc09876e8216bf6708bb598923e07a2ac4b.tar.bz2 |
allow keyword args after *args in a function call
Diffstat (limited to 'Lib/test/test_keywordonlyarg.py')
-rw-r--r-- | Lib/test/test_keywordonlyarg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_keywordonlyarg.py b/Lib/test/test_keywordonlyarg.py index aa7d3db..b771a6c 100644 --- a/Lib/test/test_keywordonlyarg.py +++ b/Lib/test/test_keywordonlyarg.py @@ -75,7 +75,7 @@ class KeywordOnlyArgTestCase(unittest.TestCase): def testSyntaxErrorForFunctionCall(self): self.assertRaisesSyntaxError("f(p, k=1, p2)") - self.assertRaisesSyntaxError("f(p, *(1,2), k1=100)") + self.assertRaisesSyntaxError("f(p, k1=50, *(1,2), k1=100)") def testRaiseErrorFuncallWithUnexpectedKeywordArgument(self): self.assertRaises(TypeError, keywordonly_sum, ()) |