Skip to content

Commit

Permalink
Add type hints to test
Browse files Browse the repository at this point in the history
Co-authored-by: Illviljan <[email protected]>
  • Loading branch information
mgunyho and Illviljan authored May 27, 2023
1 parent b1e7835 commit d081ee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xarray/tests/test_dataarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -4445,7 +4445,7 @@ def exp_decay(t, n0, tau=1):

@requires_scipy
@pytest.mark.parametrize("use_dask", [True, False])
def test_curvefit_multidimensional_guess(self, use_dask) -> None:
def test_curvefit_multidimensional_guess(self, use_dask: bool) -> None:
if use_dask and not has_dask:
pytest.skip("requires dask")

Expand Down Expand Up @@ -4495,7 +4495,7 @@ def sine(t, a, f, p):

@requires_scipy
@pytest.mark.parametrize("use_dask", [True, False])
def test_curvefit_multidimensional_bounds(self, use_dask) -> None:
def test_curvefit_multidimensional_bounds(self, use_dask: bool) -> None:
if use_dask and not has_dask:
pytest.skip("requires dask")

Expand Down

0 comments on commit d081ee6

Please sign in to comment.