dev-python/numba: skip memory-intensive test on 32-bit systems

Closes: https://bugs.gentoo.org/659804
Package-Manager: Portage-2.3.40_p15, Repoman-2.3.9_p247
This commit is contained in:
Mike Gilbert
2018-07-08 21:13:09 -04:00
parent b798f9d94a
commit ef879f0851
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
https://bugs.gentoo.org/659804
diff --git a/numba/tests/test_linalg.py b/numba/tests/test_linalg.py
index 46bff63e8..53056ab23 100644
--- a/numba/tests/test_linalg.py
+++ b/numba/tests/test_linalg.py
@@ -1282,6 +1282,7 @@ class TestLinalgLstsq(TestLinalgSystems):
# Suggestions for improvements are welcomed!
@needs_lapack
+ @unittest.skipIf(sys.maxsize < 2 ** 31, "errors with 32-bit address space")
def test_linalg_lstsq(self):
"""
Test np.linalg.lstsq

View File

@@ -28,6 +28,10 @@ DEPEND="${RDEPEND}
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"
PATCHES=(
"${FILESDIR}"/numba-skip-tests.patch
)
python_test() {
cd "${BUILD_DIR}/lib" || die
${EPYTHON} -m numba.runtests -v || die