Author: mattip <[email protected]>
Branch:
Changeset: r76915:8117b0f94004
Date: 2015-04-24 08:42 +0300
http://bitbucket.org/pypy/pypy/changeset/8117b0f94004/
Log: skip if translated, test is useful for development only
diff --git a/pypy/module/micronumpy/test/test_object_arrays.py
b/pypy/module/micronumpy/test/test_object_arrays.py
--- a/pypy/module/micronumpy/test/test_object_arrays.py
+++ b/pypy/module/micronumpy/test/test_object_arrays.py
@@ -1,7 +1,12 @@
from pypy.module.micronumpy.test.test_base import BaseNumpyAppTest
+from pypy.conftest import option
class AppTestObjectDtypes(BaseNumpyAppTest):
+ def setup_class(cls):
+ BaseNumpyAppTest.setup_class.im_func(cls)
+ cls.w_runappdirect = cls.space.wrap(option.runappdirect)
+
def test_scalar_from_object(self):
from numpy import array
import sys
@@ -109,6 +114,8 @@
def test_array_interface(self):
import numpy as np
+ if self.runappdirect:
+ skip('requires numpy.core, test with numpy test suite instead')
import sys
class DummyArray(object):
def __init__(self, interface, base=None):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit