@@ -68,8 +68,8 @@ def _test_namedtuple(res, fields, func_name):
68
68
def test_cholesky (x , kw ):
69
69
res = _array_module .linalg .cholesky (x , ** kw )
70
70
71
- assert res .shape == x .shape , "cholesky did not return the correct shape"
72
- assert res .dtype == x .dtype , "cholesky did not return the correct dtype"
71
+ assert res .shape == x .shape , "cholesky() did not return the correct shape"
72
+ assert res .dtype == x .dtype , "cholesky() did not return the correct dtype"
73
73
74
74
_test_stacks (_array_module .linalg .cholesky , x , kw , res )
75
75
@@ -135,9 +135,7 @@ def true_diag(x_stack):
135
135
136
136
_test_stacks (_array_module .linalg .diagonal , x , kw , res , dims = 1 , true_val = true_diag )
137
137
138
- @given (
139
- x = symmetric_matrices (finite = True ),
140
- )
138
+ @given (x = symmetric_matrices (finite = True ))
141
139
def test_eigh (x ):
142
140
res = _array_module .linalg .eigh (x )
143
141
@@ -158,9 +156,7 @@ def test_eigh(x):
158
156
# TODO: Test that res actually corresponds to the eigenvalues and
159
157
# eigenvectors of x
160
158
161
- @given (
162
- x = symmetric_matrices (finite = True ),
163
- )
159
+ @given (x = symmetric_matrices (finite = True ))
164
160
def test_eigvalsh (x ):
165
161
res = _array_module .linalg .eigvalsh (x )
166
162
0 commit comments