We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96905cd commit fc9e302Copy full SHA for fc9e302
tests/test_Wrappers.py
@@ -63,14 +63,12 @@ def clean(self):
63
assert Ainv.solver.A is None
64
65
def test_iterative_deprecations():
66
- def iterative_solver(A, x):
67
- return x
68
69
with pytest.warns(FutureWarning, match="check_accuracy and accuracy_tol were unused.*"):
70
- wrap_iterative(iterative_solver, check_accuracy=True)
+ wrap_iterative(lambda a, x: x, check_accuracy=True)
71
72
73
- wrap_iterative(iterative_solver, accuracy_tol=1E-3)
+ wrap_iterative(lambda a, x: x, accuracy_tol=1E-3)
74
75
def test_non_scipy_iterative():
76
def iterative_solver(A, x):
0 commit comments