summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-08-18 22:07:15 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-08-18 22:07:15 (GMT)
commit7e44b6b0c5c5a8078ae2ae2f86d6d948c9ebf3e4 (patch)
tree57d07e604b55d8ddbad8d22a1bf0f0bf791099c4 /Lib/test
parentd5f2b5421a9559b61ae4a55a2d8727373336bb92 (diff)
downloadcpython-7e44b6b0c5c5a8078ae2ae2f86d6d948c9ebf3e4.zip
cpython-7e44b6b0c5c5a8078ae2ae2f86d6d948c9ebf3e4.tar.gz
cpython-7e44b6b0c5c5a8078ae2ae2f86d6d948c9ebf3e4.tar.bz2
Add more tests to unicodedata with large code points
(the other functions where not affected by the recent change)
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_unicodedata.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_unicodedata.py b/Lib/test/test_unicodedata.py
index 45250d1..d7a1eca 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(