diff --git a/Lib/test/test_syntax.py b/Lib/test/test_syntax.py index f422d2df94a..be2a0a28e9c 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 "", line 1 SyntaxError: can't delete () +>>> {1, 2, 3} = 42 +Traceback (most recent call last): +SyntaxError: can't assign to literal + """ import re