Lines Matching refs:unich
333 unich = unichrs(data[1])
334 if ord(unich) == 0xfffd or unich in urt_wa:
336 urt_wa[unich] = csetch
338 self._testpoint(csetch, unich)
345 unich = chr(int(uni, 16))
347 self._testpoint(codech, unich)
353 def _testpoint(self, csetch, unich): argument
354 if (csetch, unich) not in self.pass_enctest:
355 self.assertEqual(unich.encode(self.encoding), csetch)
356 if (csetch, unich) not in self.pass_dectest:
357 self.assertEqual(str(csetch, self.encoding), unich)