Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e44b6b

Browse files
committed
Add more tests to unicodedata with large code points
(the other functions where not affected by the recent change)
1 parent d5f2b54 commit 7e44b6b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/test/test_unicodedata.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ def test_UCS4(self):
299299
# even on a narrow Unicode build
300300
self.assertEqual(self.db.category("\U0001012A"), "No")
301301
self.assertEqual(self.db.numeric("\U0001012A"), 9000)
302+
self.assertEqual(self.db.decimal("\U0001D7FD"), 7)
303+
self.assertEqual(self.db.digit("\U0001D7FD"), 7)
302304

303305
def test_main():
304306
test.support.run_unittest(

0 commit comments

Comments
 (0)