[Python-checkins] r84184 - python/branches/py3k/Lib/test/test_unicodedata.py

amaury.forgeotdarc python-checkins at python.org
Thu Aug 19 00:07:15 CEST 2010


Author: amaury.forgeotdarc
Date: Thu Aug 19 00:07:15 2010
New Revision: 84184

Log:
Add more tests to unicodedata with large code points
(the other functions where not affected by the recent change)


Modified:
   python/branches/py3k/Lib/test/test_unicodedata.py

Modified: python/branches/py3k/Lib/test/test_unicodedata.py
==============================================================================
--- python/branches/py3k/Lib/test/test_unicodedata.py	(original)
+++ python/branches/py3k/Lib/test/test_unicodedata.py	Thu Aug 19 00:07:15 2010
@@ -299,6 +299,8 @@
         # 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(


More information about the Python-checkins mailing list