diff --git a/Lib/test/test_syntax.py b/Lib/test/test_syntax.py index dc7a16d1e26..acb3f105369 100644 --- a/Lib/test/test_syntax.py +++ b/Lib/test/test_syntax.py @@ -71,7 +71,7 @@ >>> `1` = 1 Traceback (most recent call last): -SyntaxError: can't assign to repr (, line 1) +SyntaxError: invalid syntax If the left-hand side of an assignment is a list or tuple, an illegal expression inside that contain should still cause a syntax error.