summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
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