]> granicus.if.org Git - python/commitdiff
Add more tests to unicodedata with large code points
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 18 Aug 2010 22:07:15 +0000 (22:07 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 18 Aug 2010 22:07:15 +0000 (22:07 +0000)
(the other functions where not affected by the recent change)

Lib/test/test_unicodedata.py

index 45250d13dbf55efe7ff007965ce10ee409fdfd3e..d7a1eca104b59a8e7b7c73c80d5e48745d27a53f 100644 (file)
@@ -299,6 +299,8 @@ class UnicodeMiscTest(UnicodeDatabaseTest):
         # even on a narrow Unicode build
         self.assertEqual(self.db.category("\U0001012A"), "No")
         self.assertEqual(self.db.numeric("\U0001012A"), 9000)
+        self.assertEqual(self.db.decimal("\U0001D7FD"), 7)
+        self.assertEqual(self.db.digit("\U0001D7FD"), 7)
 
 def test_main():
     test.support.run_unittest(