Closed
Description
problem
there is WET code in test_pvsystem.py
since I copied and pasted the same tests, and just changed the method
solution
according to this comment here's a nice snippet:
@requires_scipy
@pytest.mark.parametrize('method,atol', [('brentq', 1e-11), ('newton', 1e-8)])
def test_v_from_i_methods(fixture_v_from_i, method, atol):
# remove atol spec and set method=method
Additional context
see #409
Metadata
Metadata
Assignees
Labels
No labels