Commits

mattip committed c505716

skip test for non-implemented unicode box

  • Participants
  • Parent commits d2f2a8c

Comments (0)

Files changed (1)

File pypy/module/micronumpy/test/test_dtypes.py

 
     def test_unicode_boxes(self):
         from numpypy import unicode_
-        assert isinstance(unicode_(3), unicode)
+        try:
+            u = unicode_(3)
+        except NotImplementedError, e:
+            if e.message.find('not supported yet') >= 0:
+                skip('unicode box not implemented')
+        else:
+            assert isinstance(u, unicode)
 
     def test_character_dtype(self):
         from numpypy import array, character