Author: mattip <[email protected]>
Branch:
Changeset: r66949:c505716d0bea
Date: 2013-09-15 01:43 +0300
http://bitbucket.org/pypy/pypy/changeset/c505716d0bea/
Log: skip test for non-implemented unicode box
diff --git a/pypy/module/micronumpy/test/test_dtypes.py
b/pypy/module/micronumpy/test/test_dtypes.py
--- a/pypy/module/micronumpy/test/test_dtypes.py
+++ b/pypy/module/micronumpy/test/test_dtypes.py
@@ -776,7 +776,13 @@
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
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit