summaryrefslogtreecommitdiff
path: root/numpy/linalg/tests/test_regression.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-08-05 18:17:23 -0600
committerCharles Harris <charlesr.harris@gmail.com>2017-08-05 19:01:08 -0600
commit6a2bc5e3548ff8e3b1fcd1a6d7a4ee263c17aa0b (patch)
treebd669d444c6a225e00cba33d03a6626e9e28f4d1 /numpy/linalg/tests/test_regression.py
parentbfe43b26969231cfe8196868280c07f0c0aa8f50 (diff)
downloadnumpy-6a2bc5e3548ff8e3b1fcd1a6d7a4ee263c17aa0b.tar.gz
MAINT: Remove `level=` keyword from test arguments.
I don't know what that argument was used for, but it showis up in old tests and is not explicitly used within the tests. I assume it was part of an old testing framework and is now longer needed.
Diffstat (limited to 'numpy/linalg/tests/test_regression.py')
-rw-r--r--numpy/linalg/tests/test_regression.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/numpy/linalg/tests/test_regression.py b/numpy/linalg/tests/test_regression.py
index 558abca09..07d72620b 100644
--- a/numpy/linalg/tests/test_regression.py
+++ b/numpy/linalg/tests/test_regression.py
@@ -12,12 +12,9 @@ from numpy.testing import (
)
-rlevel = 1
-
-
class TestRegression(object):
- def test_eig_build(self, level=rlevel):
+ def test_eig_build(self):
# Ticket #652
rva = array([1.03221168e+02 + 0.j,
-1.91843603e+01 + 0.j,
@@ -40,7 +37,7 @@ class TestRegression(object):
rva.sort()
assert_array_almost_equal(va, rva)
- def test_eigh_build(self, level=rlevel):
+ def test_eigh_build(self):
# Ticket 662.
rvals = [68.60568999, 89.57756725, 106.67185574]
@@ -51,7 +48,7 @@ class TestRegression(object):
vals, vecs = linalg.eigh(cov)
assert_array_almost_equal(vals, rvals)
- def test_svd_build(self, level=rlevel):
+ def test_svd_build(self):
# Ticket 627.
a = array([[0., 1.], [1., 1.], [2., 1.], [3., 1.]])
m, n = a.shape