MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_combining

Method test_combining

Lib/test/test_unicodedata.py:208–215  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

206 self.assertRaises(TypeError, self.db.mirrored, 'xx')
207
208 def test_combining(self):
209 self.assertEqual(self.db.combining('\uFFFE'), 0)
210 self.assertEqual(self.db.combining('a'), 0)
211 self.assertEqual(self.db.combining('\u20e1'), 230)
212 self.assertEqual(self.db.combining('\U00020000'), 0)
213
214 self.assertRaises(TypeError, self.db.combining)
215 self.assertRaises(TypeError, self.db.combining, 'xx')
216
217 def test_pr29(self):
218 # https://www.unicode.org/review/pr-29.html

Callers

nothing calls this directly

Calls 3

combiningMethod · 0.80
assertEqualMethod · 0.45
assertRaisesMethod · 0.45

Tested by

no test coverage detected