Skip to content

Commit

Permalink
Change list to tuple to pass mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
mgunyho authored and Marton Gunyho committed May 16, 2023
1 parent 6e4aef7 commit 48cea82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/tests/test_dataarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -4399,7 +4399,7 @@ def exp_decay(t, n0, tau=1):
da = da.chunk({"x": 1})

fit = da.curvefit(
coords=[da.t], func=exp_decay, p0={"n0": 4}, bounds={"tau": [2, 6]}
coords=[da.t], func=exp_decay, p0={"n0": 4}, bounds={"tau": (2, 6)}
)
assert_allclose(fit.curvefit_coefficients, expected, rtol=1e-3)

Expand Down

0 comments on commit 48cea82

Please sign in to comment.