mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Rip out all the u"..." literals and calls to unicode().
This commit is contained in:
parent
572dbf8f13
commit
ef87d6ed94
200 changed files with 18074 additions and 18074 deletions
|
@ -104,7 +104,7 @@ class TestPlistlib(unittest.TestCase):
|
|||
anInt = 728,
|
||||
aDict=dict(
|
||||
anotherString="<hello & 'hi' there!>",
|
||||
aUnicodeValue=u'M\xe4ssig, Ma\xdf',
|
||||
aUnicodeValue='M\xe4ssig, Ma\xdf',
|
||||
aTrueValue=True,
|
||||
aFalseValue=False,
|
||||
deeperDict=dict(a=17, b=32.5, c=[1, 2, "text"]),
|
||||
|
@ -114,7 +114,7 @@ class TestPlistlib(unittest.TestCase):
|
|||
nestedData = [plistlib.Data("<lots of binary gunk>\0\1\2\3" * 10)],
|
||||
aDate = datetime.datetime(2004, 10, 26, 10, 33, 33),
|
||||
)
|
||||
pl[u'\xc5benraa'] = "That was a unicode key."
|
||||
pl['\xc5benraa'] = "That was a unicode key."
|
||||
return pl
|
||||
|
||||
def test_create(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue