diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-04-12 23:34:30 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-04-12 23:34:30 (GMT) |
commit | 62f8bcb0a46fc0d8747ba2ab7e8d7311d73f82f7 (patch) | |
tree | 72579763dd5a5d68069e70bea38f31e78185fcf3 /Lib/test/test_syntax.py | |
parent | b17abb1af9e36c728e4fc9e27a9fd9441d3f77a2 (diff) | |
parent | abdeeff3d1fa505fa1d49970cb7a70446f3e2b75 (diff) | |
download | cpython-62f8bcb0a46fc0d8747ba2ab7e8d7311d73f82f7.zip cpython-62f8bcb0a46fc0d8747ba2ab7e8d7311d73f82f7.tar.gz cpython-62f8bcb0a46fc0d8747ba2ab7e8d7311d73f82f7.tar.bz2 |
merge 3.1
Diffstat (limited to 'Lib/test/test_syntax.py')
-rw-r--r-- | Lib/test/test_syntax.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_syntax.py b/Lib/test/test_syntax.py index 02372ba..5926b69 100644 --- a/Lib/test/test_syntax.py +++ b/Lib/test/test_syntax.py @@ -67,6 +67,10 @@ SyntaxError: can't assign to literal Traceback (most recent call last): SyntaxError: can't assign to literal +>>> b"" = 1 +Traceback (most recent call last): +SyntaxError: can't assign to literal + >>> `1` = 1 Traceback (most recent call last): SyntaxError: invalid syntax |