Files
termux-packages/packages/python-numpy/test.patch
2022-09-21 08:51:41 +00:00

12 lines
417 B
Diff

--- 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);