From: Amaury Forgeot d'Arc Date: Wed, 18 Aug 2010 22:07:15 +0000 (+0000) Subject: Add more tests to unicodedata with large code points X-Git-Tag: v3.2a2~221 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e44b6b0c5c5a8078ae2ae2f86d6d948c9ebf3e4;p=python Add more tests to unicodedata with large code points (the other functions where not affected by the recent change) --- diff --git a/Lib/test/test_unicodedata.py b/Lib/test/test_unicodedata.py index 45250d13db..d7a1eca104 100644 --- a/Lib/test/test_unicodedata.py +++ b/Lib/test/test_unicodedata.py @@ -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(