(self)
| 175 | unicodedata.ucd_3_2_0.lookup(alias) |
| 176 | |
| 177 | def test_aliases_names_in_pua_range(self): |
| 178 | # We are storing aliases in the PUA 15, but their names shouldn't leak |
| 179 | for cp in range(0xf0000, 0xf0100): |
| 180 | with self.assertRaises(ValueError) as cm: |
| 181 | unicodedata.name(chr(cp)) |
| 182 | self.assertEqual(str(cm.exception), 'no such name') |
| 183 | |
| 184 | def test_named_sequences_names_in_pua_range(self): |
| 185 | # We are storing named seq in the PUA 15, but their names shouldn't leak |
nothing calls this directly
no test coverage detected