Skip to content

Commit

Permalink
pre-commit is weird
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasdavis committed Nov 9, 2023
1 parent 2e4b680 commit 67655fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ def f(a, b):
dak.from_map(f, [1, 2], [3, 4, 5])

with pytest.raises(ValueError, match="must be `callable`"):
dak.from_map(5, [1], [2])
dak.from_map(5, [1], [2]) # type: ignore

with pytest.raises(ValueError, match="must be Iterable"):
dak.from_map(f, 1, [1, 2])
dak.from_map(f, 1, [1, 2]) # type: ignore

with pytest.raises(ValueError, match="non-zero length"):
dak.from_map(f, [], [], [])
Expand Down

0 comments on commit 67655fe

Please sign in to comment.