Lines Matching refs:unich
308 unich = unichrs(data[1])
309 if unich == u'\ufffd' or unich in urt_wa:
311 urt_wa[unich] = csetch
313 self._testpoint(csetch, unich)
320 unich = unichr(int(uni, 16))
322 self._testpoint(codech, unich)
328 def _testpoint(self, csetch, unich): argument
329 if (csetch, unich) not in self.pass_enctest:
331 self.assertEqual(unich.encode(self.encoding), csetch)
334 repr(unich), repr(csetch), exc.reason))
335 if (csetch, unich) not in self.pass_dectest:
337 self.assertEqual(csetch.decode(self.encoding), unich)
340 repr(csetch), repr(unich), exc.reason))