commit | 254ec783411d9d16e51f1116f98918be2ef0e884 | [log] [tgz] |
---|---|---|
author | Pablo Galindo <Pablogsal@gmail.com> | Fri Apr 03 20:37:13 2020 +0100 |
committer | GitHub <noreply@github.com> | Fri Apr 03 20:37:13 2020 +0100 |
tree | e0520ead772c7d702bec0a4423ab538a4026e893 | |
parent | bd6a4c3d72828d3d0e13922e165998539d24f8bc [diff] [blame] |
bpo-40147: Move the check for duplicate keywords to the compiler (GH-19289)
diff --git a/Lib/test/test_syntax.py b/Lib/test/test_syntax.py index 128c4da..a7e7e2c 100644 --- a/Lib/test/test_syntax.py +++ b/Lib/test/test_syntax.py
@@ -588,7 +588,7 @@ >>> f(a=23, a=234) Traceback (most recent call last): ... -SyntaxError: keyword argument repeated +SyntaxError: keyword argument repeated: a >>> {1, 2, 3} = 42 Traceback (most recent call last):