summaryrefslogtreecommitdiff
path: root/numpy/linalg/tests
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2019-12-04 20:49:56 +0200
committerPauli Virtanen <pav@iki.fi>2019-12-04 20:55:07 +0200
commitd3f6a7eddc68c9160db695106d196cebbc8d9fd4 (patch)
tree5753414a695100400478db78be609b3993a11ab4 /numpy/linalg/tests
parent8f6bdf83f40c22a76f75c42b7dacf34f0229082f (diff)
downloadnumpy-d3f6a7eddc68c9160db695106d196cebbc8d9fd4.tar.gz
TST: fix up issues in requires_memory decorator
Fix wrong multiplier for /proc/meminfo, and do style cleanups.
Diffstat (limited to 'numpy/linalg/tests')
-rw-r--r--numpy/linalg/tests/test_linalg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/linalg/tests/test_linalg.py b/numpy/linalg/tests/test_linalg.py
index e1590f1e7..bd3df1ca4 100644
--- a/numpy/linalg/tests/test_linalg.py
+++ b/numpy/linalg/tests/test_linalg.py
@@ -2008,7 +2008,7 @@ def test_unsupported_commontype():
@pytest.mark.slow
@pytest.mark.xfail(not HAS_LAPACK64, run=False,
reason="Numpy not compiled with 64-bit BLAS/LAPACK")
-@requires_memory(16e9)
+@requires_memory(free_bytes=16e9)
def test_blas64_dot():
n = 2**32
a = np.zeros([1, n], dtype=np.float32)