[pypy-svn] r64361 - pypy/trunk/lib-python/modified-2.5.2/test

cfbolz at codespeak.net cfbolz at codespeak.net
Sun Apr 19 14:25:19 CEST 2009


Author: cfbolz
Date: Sun Apr 19 14:25:19 2009
New Revision: 64361

Modified:
   pypy/trunk/lib-python/modified-2.5.2/test/test_unicodedata.py
Log:
fix unicodedata failure on windows, hopefully


Modified: pypy/trunk/lib-python/modified-2.5.2/test/test_unicodedata.py
==============================================================================
--- pypy/trunk/lib-python/modified-2.5.2/test/test_unicodedata.py	(original)
+++ pypy/trunk/lib-python/modified-2.5.2/test/test_unicodedata.py	Sun Apr 19 14:25:19 2009
@@ -77,7 +77,7 @@
 class UnicodeFunctionsTest(UnicodeDatabaseTest):
 
     # update this, if the database changes
-    expectedchecksum = 'e5eaebf2eba2221e8b8ad0201edc179516fd322f'
+    expectedchecksum = '351aef336ecc9c454759a6514b0171e1df71f6e9'
 
     def test_function_checksum(self):
         data = []
@@ -88,7 +88,9 @@
             data = [
                 # Properties
                 str(self.db.digit(char, -1)),
-                str(self.db.numeric(char, -1)),
+                # PyPy comment: we use repr here, because str(<float>) is
+                # platform dependant
+                repr(self.db.numeric(char, -1)),
                 str(self.db.decimal(char, -1)),
                 self.db.category(char),
                 self.db.bidirectional(char),



More information about the Pypy-commit mailing list