diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_syntax.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/test_syntax.py b/Lib/test/test_syntax.py index f422d2d..be2a0a2 100644 --- a/Lib/test/test_syntax.py +++ b/Lib/test/test_syntax.py @@ -478,10 +478,12 @@ SyntaxError: keyword argument repeated >>> del () Traceback (most recent call last): - ... - File "<doctest test.test_syntax[50]>", line 1 SyntaxError: can't delete () +>>> {1, 2, 3} = 42 +Traceback (most recent call last): +SyntaxError: can't assign to literal + """ import re |