commit | 37143a8e3b2e9245d52f4ddebbdd1c6121c96884 | [log] [tgz] |
---|---|---|
author | Ned Batchelder <ned@nedbatchelder.com> | Tue Dec 31 21:40:58 2019 -0500 |
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | Tue Dec 31 20:40:58 2019 -0600 |
tree | e9bd9afc1f43130581d5e9b4d2116cc97351df54 | |
parent | ba82ee894cf0f6ec9e9f6a313c870ffd2db377e6 [diff] [blame] |
bpo-39176: Improve error message for 'named assignment' (GH-17777)
diff --git a/Lib/test/test_syntax.py b/Lib/test/test_syntax.py index 3829746..128c4da 100644 --- a/Lib/test/test_syntax.py +++ b/Lib/test/test_syntax.py
@@ -45,7 +45,7 @@ >>> (True := 1) Traceback (most recent call last): -SyntaxError: cannot use named assignment with True +SyntaxError: cannot use assignment expressions with True >>> obj.__debug__ = 1 Traceback (most recent call last):