Add more tests to unicodedata with large code points
(the other functions where not affected by the recent change)
This commit is contained in:
parent
d5f2b5421a
commit
7e44b6b0c5
|
@ -299,6 +299,8 @@ class UnicodeMiscTest(UnicodeDatabaseTest):
|
||||||
# even on a narrow Unicode build
|
# even on a narrow Unicode build
|
||||||
self.assertEqual(self.db.category("\U0001012A"), "No")
|
self.assertEqual(self.db.category("\U0001012A"), "No")
|
||||||
self.assertEqual(self.db.numeric("\U0001012A"), 9000)
|
self.assertEqual(self.db.numeric("\U0001012A"), 9000)
|
||||||
|
self.assertEqual(self.db.decimal("\U0001D7FD"), 7)
|
||||||
|
self.assertEqual(self.db.digit("\U0001D7FD"), 7)
|
||||||
|
|
||||||
def test_main():
|
def test_main():
|
||||||
test.support.run_unittest(
|
test.support.run_unittest(
|
||||||
|
|
Loading…
Reference in New Issue