From 7e44b6b0c5c5a8078ae2ae2f86d6d948c9ebf3e4 Mon Sep 17 00:00:00 2001 From: Amaury Forgeot d'Arc Date: Wed, 18 Aug 2010 22:07:15 +0000 Subject: Add more tests to unicodedata with large code points (the other functions where not affected by the recent change) --- Lib/test/test_unicodedata.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Lib/test/test_unicodedata.py') 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( -- cgit v1.2.1