/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_codeccallbacks.py | 21 # A UnicodeEncodeError object with a bad start attribute 22 class BadStartUnicodeEncodeError(UnicodeEncodeError): 24 UnicodeEncodeError.__init__(self, "ascii", u"", 0, 1, "bad") 27 # A UnicodeEncodeError object with a bad object attribute 28 class BadObjectUnicodeEncodeError(UnicodeEncodeError): 30 UnicodeEncodeError.__init__(self, "ascii", u"", 0, 1, "bad") 84 if not isinstance(exc, UnicodeEncodeError): 115 if not isinstance(exc, UnicodeEncodeError): 236 if not isinstance(exc, UnicodeEncodeError) \ 334 UnicodeEncodeError, [all...] |
test_exceptions.py | 255 (UnicodeEncodeError, ('ascii', u'a', 0, 1, 'ordinal not in range'), 400 u = UnicodeEncodeError('baz', u'xxxxx', 1, 5, 'foo') 525 UnicodeEncodeError('ascii', u'\u1234', 0, 1, 547 self.assertRaises(UnicodeEncodeError, str, e) 559 self.assertRaises(UnicodeEncodeError, str, e) 572 self.assertRaises(UnicodeEncodeError, str, e) 598 self.assertRaises(UnicodeEncodeError, str, e)
|
test_multibytecodec.py | 98 self.assertRaises(UnicodeEncodeError, encoder.encode, u'\u0123') 100 self.assertRaises(UnicodeEncodeError, encoder.encode, u'\u0123') 104 self.assertRaises(UnicodeEncodeError, encoder.encode, u'\u0123')
|
test_pep277.py | 51 except UnicodeEncodeError:
|
test_fileio.py | 329 except UnicodeEncodeError: 446 except (UnicodeEncodeError, IOError): 453 if ('UnicodeEncodeError' not in out and not
|
test_multibytecodec_support.py | 85 if not isinstance(exc, UnicodeEncodeError): 202 self.assertRaises(UnicodeEncodeError, e.encode, inv, True)
|
test_StringIO.py | 197 self.assertRaises(UnicodeEncodeError, self.MODULE.StringIO, u'\xf4')
|
test_genericpath.py | 235 except (AttributeError, UnicodeEncodeError):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_codeccallbacks.py | 21 # A UnicodeEncodeError object with a bad start attribute 22 class BadStartUnicodeEncodeError(UnicodeEncodeError): 24 UnicodeEncodeError.__init__(self, "ascii", u"", 0, 1, "bad") 27 # A UnicodeEncodeError object with a bad object attribute 28 class BadObjectUnicodeEncodeError(UnicodeEncodeError): 30 UnicodeEncodeError.__init__(self, "ascii", u"", 0, 1, "bad") 84 if not isinstance(exc, UnicodeEncodeError): 115 if not isinstance(exc, UnicodeEncodeError): 236 if not isinstance(exc, UnicodeEncodeError) \ 334 UnicodeEncodeError, [all...] |
test_exceptions.py | 255 (UnicodeEncodeError, ('ascii', u'a', 0, 1, 'ordinal not in range'), 400 u = UnicodeEncodeError('baz', u'xxxxx', 1, 5, 'foo') 525 UnicodeEncodeError('ascii', u'\u1234', 0, 1, 547 self.assertRaises(UnicodeEncodeError, str, e) 559 self.assertRaises(UnicodeEncodeError, str, e) 572 self.assertRaises(UnicodeEncodeError, str, e) 598 self.assertRaises(UnicodeEncodeError, str, e)
|
test_multibytecodec.py | 98 self.assertRaises(UnicodeEncodeError, encoder.encode, u'\u0123') 100 self.assertRaises(UnicodeEncodeError, encoder.encode, u'\u0123') 104 self.assertRaises(UnicodeEncodeError, encoder.encode, u'\u0123')
|
test_pep277.py | 51 except UnicodeEncodeError:
|
test_fileio.py | 329 except UnicodeEncodeError: 446 except (UnicodeEncodeError, IOError): 453 if ('UnicodeEncodeError' not in out and not
|
test_multibytecodec_support.py | 85 if not isinstance(exc, UnicodeEncodeError): 202 self.assertRaises(UnicodeEncodeError, e.encode, inv, True)
|
test_StringIO.py | 197 self.assertRaises(UnicodeEncodeError, self.MODULE.StringIO, u'\xf4')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_unicode.py | 84 self.assertRaises(UnicodeEncodeError, self.loads, '"a"', u"rat\xe9")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_unicode.py | 84 self.assertRaises(UnicodeEncodeError, self.loads, '"a"', u"rat\xe9")
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mimetypes.py | 250 except UnicodeEncodeError: 270 except UnicodeEncodeError:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
mimetypes.py | 250 except UnicodeEncodeError: 270 except UnicodeEncodeError:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_parameters.py | 62 self.assertRaises(UnicodeEncodeError, c_char_p.from_param, u"123\377")
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/test/ |
regression.py | 157 self.assertRaises(UnicodeEncodeError, setattr, con,
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_parameters.py | 62 self.assertRaises(UnicodeEncodeError, c_char_p.from_param, u"123\377")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/ |
regression.py | 157 self.assertRaises(UnicodeEncodeError, setattr, con,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/ |
main.py | 124 except UnicodeEncodeError:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/ |
main.py | 124 except UnicodeEncodeError:
|