termux-packages/packages/python-numpy/test.patch

12 lines
387 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')
if IS_WASM:
pytest.skip("Can't build module inside Wasm")
functions = [