--- a/numpy/core/tests/test_mem_policy.py +++ b/numpy/core/tests/test_mem_policy.py @@ -18,6 +18,8 @@ """ if sys.platform.startswith('cygwin'): pytest.skip('link fails on cygwin') + if os.path.exists("/system/bin/app_process"): + pytest.skip('link fails on Android') functions = [ ("get_default_policy", "METH_NOARGS", """ Py_INCREF(PyDataMem_DefaultHandler);