[pypy-svn] pypy default: add a test for assignment to a unicode literal

gutworth commits-noreply at bitbucket.org
Wed Apr 13 01:01:57 CEST 2011


Author: Benjamin Peterson <benjamin at python.org>
Branch: 
Changeset: r43317:9dada9aaba1a
Date: 2011-04-12 17:59 -0500
http://bitbucket.org/pypy/pypy/changeset/9dada9aaba1a/

Log:	add a test for assignment to a unicode literal

diff --git a/pypy/interpreter/astcompiler/test/test_astbuilder.py b/pypy/interpreter/astcompiler/test/test_astbuilder.py
--- a/pypy/interpreter/astcompiler/test/test_astbuilder.py
+++ b/pypy/interpreter/astcompiler/test/test_astbuilder.py
@@ -754,6 +754,7 @@
             ("{x for x in z}", "set comprehension"),
             ("{x : x for x in z}", "dict comprehension"),
             ("'str'", "literal"),
+            ("u'str'", "literal"),
             ("()", "()"),
             ("23", "literal"),
             ("{}", "literal"),


More information about the Pypy-commit mailing list