mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -425,8 +425,8 @@ class UnquotingTests(unittest.TestCase):
|
|||
"using unquote_plus(): %s != %s" % (expect, result))
|
||||
|
||||
def test_unquote_with_unicode(self):
|
||||
r = urllib.unquote(u'br%C3%BCckner_sapporo_20050930.doc')
|
||||
self.assertEqual(r, u'br\xc3\xbcckner_sapporo_20050930.doc')
|
||||
r = urllib.unquote('br%C3%BCckner_sapporo_20050930.doc')
|
||||
self.assertEqual(r, 'br\xc3\xbcckner_sapporo_20050930.doc')
|
||||
|
||||
class urlencode_Tests(unittest.TestCase):
|
||||
"""Tests for urlencode()"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue