Home | History | Annotate | Download | only in test

Lines Matching refs:unicodedata

1 """ Test script for the unicodedata module.

71 # In case unicodedata is not available, this will raise an ImportError,
73 import unicodedata
74 self.db = unicodedata
224 # Decoding \N escapes requires the unicodedata module. If it can't be
229 "sys.modules['unicodedata'] = None;" \
232 # We use a subprocess because the unicodedata module may already have
238 "(can't load unicodedata module)"
271 import unicodedata
273 self.assertTrue(unicodedata.mirrored(u"\u0f3a"))
274 self.assertTrue(not unicodedata.ucd_3_2_0.mirrored(u"\u0f3a"))