Skip to content

Commit 8181f2a

Browse files
committed
Change list to tuple to pass mypy
1 parent d056da6 commit 8181f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/tests/test_dataarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4399,7 +4399,7 @@ def exp_decay(t, n0, tau=1):
43994399
da = da.chunk({"x": 1})
44004400

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

0 commit comments

Comments
 (0)