@@ -14,12 +14,14 @@ def test_wrapper_unused_kwargs(solver_class):
1414 with pytest .warns (UnusedArgumentWarning , match = "Unused keyword argument.*" ):
1515 solver_class (A , not_a_keyword_arg = True )
1616
17+
1718def test_good_arg_iterative ():
1819 # Ensure this doesn't throw a warning!
1920 with warnings .catch_warnings ():
2021 warnings .simplefilter ("error" )
2122 SolverCG (sp .eye (10 ), rtol = 1e-4 )
2223
24+
2325def test_good_arg_direct ():
2426 # Ensure this doesn't throw a warning!
2527 with warnings .catch_warnings ():
@@ -40,7 +42,6 @@ def __init__(self, A):
4042 WrappedClass (sp .eye (2 ))
4143
4244
43-
4445def test_direct_clean_function ():
4546 def direct_func (A ):
4647 class Empty ():
@@ -67,6 +68,7 @@ def clean(self):
6768 Ainv .clean ()
6869 assert Ainv .solver .A is None
6970
71+
7072def test_iterative_deprecations ():
7173
7274 with pytest .warns (FutureWarning , match = "check_accuracy and accuracy_tol were unused.*" ):
@@ -75,6 +77,7 @@ def test_iterative_deprecations():
7577 with pytest .warns (FutureWarning , match = "check_accuracy and accuracy_tol were unused.*" ):
7678 wrap_iterative (lambda a , x : x , accuracy_tol = 1E-3 )
7779
80+
7881def test_non_scipy_iterative ():
7982 def iterative_solver (A , x ):
8083 return x
0 commit comments