diff options
Diffstat (limited to 'Lib/test/test_syntax.py')
| -rw-r--r-- | Lib/test/test_syntax.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_syntax.py b/Lib/test/test_syntax.py index d043303..6e60706 100644 --- a/Lib/test/test_syntax.py +++ b/Lib/test/test_syntax.py @@ -417,6 +417,11 @@ leading to spurious errors. ... SyntaxError: can't assign to function call (<doctest test.test_syntax[48]>, line 6) +>>> f(a=23, a=234) +Traceback (most recent call last): + ... +SyntaxError: keyword argument repeated (<doctest test.test_syntax[49]>, line 1) + """ import re |
