HomeSort by relevance Sort by last modified time
    Searched refs:baddecodereturn1 (Results 1 - 2 of 2) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_codeccallbacks.py 669 def baddecodereturn1(exc): function in function:CodecCallbackTest.test_decodehelper
671 codecs.register_error("test.baddecodereturn1", baddecodereturn1)
672 self.assertRaises(TypeError, "\xff".decode, "ascii", "test.baddecodereturn1")
673 self.assertRaises(TypeError, "\\".decode, "unicode-escape", "test.baddecodereturn1")
674 self.assertRaises(TypeError, "\\x0".decode, "unicode-escape", "test.baddecodereturn1")
675 self.assertRaises(TypeError, "\\x0y".decode, "unicode-escape", "test.baddecodereturn1")
676 self.assertRaises(TypeError, "\\Uffffeeee".decode, "unicode-escape", "test.baddecodereturn1")
677 self.assertRaises(TypeError, "\\uyyyy".decode, "raw-unicode-escape", "test.baddecodereturn1")
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_codeccallbacks.py 669 def baddecodereturn1(exc): function in function:CodecCallbackTest.test_decodehelper
671 codecs.register_error("test.baddecodereturn1", baddecodereturn1)
672 self.assertRaises(TypeError, "\xff".decode, "ascii", "test.baddecodereturn1")
673 self.assertRaises(TypeError, "\\".decode, "unicode-escape", "test.baddecodereturn1")
674 self.assertRaises(TypeError, "\\x0".decode, "unicode-escape", "test.baddecodereturn1")
675 self.assertRaises(TypeError, "\\x0y".decode, "unicode-escape", "test.baddecodereturn1")
676 self.assertRaises(TypeError, "\\Uffffeeee".decode, "unicode-escape", "test.baddecodereturn1")
677 self.assertRaises(TypeError, "\\uyyyy".decode, "raw-unicode-escape", "test.baddecodereturn1")

Completed in 306 milliseconds