Skip to content

Commit

Permalink
Pacify pyright.
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonspeed committed Sep 24, 2024
1 parent ef43739 commit 3ddfbc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions py-polars/tests/unit/operations/arithmetic/test_arithmetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,11 +840,11 @@ def test_list_and_numeric_arithmetic_error_cases() -> None:
numeric = pl.Series("a", [1, 2])
list_num = pl.Series("b", [[3, 4], [5, 6]])
with pytest.raises(InvalidOperationError, match="operation not supported"):
numeric / list_num
_ = numeric / list_num
with pytest.raises(InvalidOperationError, match="operation not supported"):
numeric - list_num
_ = numeric - list_num
with pytest.raises(InvalidOperationError, match="operation not supported"):
numeric % list_num
_ = numeric % list_num


def test_schema_owned_arithmetic_5669() -> None:
Expand Down

0 comments on commit 3ddfbc6

Please sign in to comment.