Example #1
0
 def test_unicode_quote_b(self):
     eq_(quote(b'/test/123/\xe6\xb1\x89\xe5\xad\x97'),
         '/test/123/%E6%B1%89%E5%AD%97')
Example #2
0
 def test_unicode_quote_u(self):
     eq_(quote(u'/test/123/汉字'), '/test/123/%E6%B1%89%E5%AD%97')