summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-04-12 23:35:21 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-04-12 23:35:21 (GMT)
commit59c90c6cb24b91890dec4d39cf873944cac13c97 (patch)
tree1b56bd72cedd976c0cdac27a85ff979f11c80edb /Lib
parent5809403e6d83be3649cc9453450ef48aaa425ab1 (diff)
parent62f8bcb0a46fc0d8747ba2ab7e8d7311d73f82f7 (diff)
downloadcpython-59c90c6cb24b91890dec4d39cf873944cac13c97.zip
cpython-59c90c6cb24b91890dec4d39cf873944cac13c97.tar.gz
cpython-59c90c6cb24b91890dec4d39cf873944cac13c97.tar.bz2
merge 3.2
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_syntax.py4
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