Author: Matti Picus <matti.pi...@gmail.com> Branch: pypy-pyarray Changeset: r67050:21c62d1734c4 Date: 2013-09-22 08:36 +0300 http://bitbucket.org/pypy/pypy/changeset/21c62d1734c4/
Log: fix tests diff --git a/pypy/module/test_lib_pypy/numpypy/test_numpy.py b/pypy/module/test_lib_pypy/numpypy/test_numpy.py --- a/pypy/module/test_lib_pypy/numpypy/test_numpy.py +++ b/pypy/module/test_lib_pypy/numpypy/test_numpy.py @@ -96,10 +96,13 @@ def test___all__(self): import numpy - assert '__all__' in numpy + assert '__all__' in dir(numpy) assert 'numpypy' not in dir(numpy) def test_get_include(self): + import sys + if not hasattr(sys, 'pypy_translation_info'): + skip("pypy white-box test") import numpy, os assert 'get_include' in dir(numpy) path = numpy.get_include() _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit