Example #1
0
 def test_contractions(self):
     ' Test contractions '
     self.skipTest('Skipping as this depends too much on ICU version')
     c = icu._icu.Collator('cs')
     self.ae(icu.contractions(c), frozenset({u'Z\u030c', u'z\u030c', u'Ch',
         u'C\u030c', u'ch', u'cH', u'c\u030c', u's\u030c', u'r\u030c', u'CH',
         u'S\u030c', u'R\u030c'}))
Example #2
0
 def test_contractions(self):
     ' Test contractions '
     self.skipTest('Skipping as this depends too much on ICU version')
     c = icu._icu.Collator('cs')
     self.ae(icu.contractions(c), frozenset({u'Z\u030c', u'z\u030c', u'Ch',
         u'C\u030c', u'ch', u'cH', u'c\u030c', u's\u030c', u'r\u030c', u'CH',
         u'S\u030c', u'R\u030c'}))
Example #3
0
 def test_contractions(self):
     c = icu._icu.Collator("cs")
     self.ae(
         icu.contractions(c),
         frozenset(
             {
                 "Z\u030c",
                 "z\u030c",
                 "Ch",
                 "C\u030c",
                 "ch",
                 "cH",
                 "c\u030c",
                 "s\u030c",
                 "r\u030c",
                 "CH",
                 "S\u030c",
                 "R\u030c",
             }
         ),
     )
Example #4
0
 def test_contractions(self):
     ' Test contractions '
     c = icu._icu.Collator('cs')
     self.ae(icu.contractions(c), frozenset({u'Z\u030c', u'z\u030c', u'Ch',
         u'C\u030c', u'ch', u'cH', u'c\u030c', u's\u030c', u'r\u030c', u'CH',
         u'S\u030c', u'R\u030c'}))
Example #5
0
 def test_contractions(self):
     ' Test contractions '
     c = icu._icu.Collator('cs')
     self.ae(icu.contractions(c), frozenset({u'Z\u030c', u'z\u030c', u'Ch',
         u'C\u030c', u'ch', u'cH', u'c\u030c', u's\u030c', u'r\u030c', u'CH',
         u'S\u030c', u'R\u030c'}))