Skip to content

Commit

Permalink
ignore mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
dougbrn committed Sep 27, 2024
1 parent f164b75 commit 8e04be4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/nested_dask/test_nestedframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,14 +327,14 @@ def test_reduce_output_type(meta):

if meta == "df":

def mean_arr(b, arr):
return {"b": b, "mean": np.mean(arr)}
def mean_arr(b, arr): # type: ignore
return {"b": b, "mean": np.mean(arr)} # type: ignore

reduced = nddf.reduce(mean_arr, "b", "test.a", meta={"b": int, "mean": float})
elif meta == "series":

def mean_arr(arr):
return np.mean(arr)
def mean_arr(arr): # type: ignore
return np.mean(arr) # type: ignore

reduced = nddf.reduce(mean_arr, "test.a", meta=("mean", "float"))
assert isinstance(reduced, nd.NestedFrame)
Expand Down

0 comments on commit 8e04be4

Please sign in to comment.