Author: Romain Guillebert <romain...@gmail.com> Branch: object-dtype Changeset: r75357:d6e6f6529ef3 Date: 2015-01-15 17:09 +0100 http://bitbucket.org/pypy/pypy/changeset/d6e6f6529ef3/
Log: Unskip test 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 @@ -472,11 +472,8 @@ class O(object): pass for o in [object, O]: - if '__pypy__' not in sys.builtin_module_names: - assert np.dtype(o).str == '|O8' - else: - exc = raises(NotImplementedError, "np.dtype(o)") - assert exc.value[0] == "cannot create dtype with type '%s'" % o.__name__ + print np.dtype(o).byteorder + assert np.dtype(o).str == '|O8' class AppTestTypes(BaseAppTestDtypes): def test_abstract_types(self): _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit