Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasdavis committed Oct 23, 2023
1 parent f7f3c40 commit 82e9bd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ def test_report_necessary_columns(daa: dak.Array) -> None:
result = dak.min(daa.points.x, axis=1)
rep = dak.report_necessary_columns(result)
for k, v in rep.items():
assert v is not None
assert sorted(["points.x"]) == sorted(v)

result = dak.zeros_like(daa.points.y)
rep = dak.report_necessary_columns(result)
for k, v in rep.items():
assert v is not None
points, coord = list(v)[0].split(".")
assert points == "points"
assert coord in ["x", "y"]
Expand Down

0 comments on commit 82e9bd4

Please sign in to comment.