Commits

Leonardo Soto committed 29492e2

Avoid running unicodedata tests on jython, even if the unicodedata module can be imported

  • Participants
  • Parent commits 7c8edec

Comments (0)

Files changed (1)

             s = data[i % len_data]
 
 try:
+    import sys
+    if sys.platform.startswith('java'): # HACK to avoid testing incomplete
+                                        # unicodedata on Jython
+        raise ImportError
     import unicodedata
 except ImportError:
     pass