Skip to content

Commit

Permalink
Remove no-longer-needed test
Browse files Browse the repository at this point in the history
  • Loading branch information
mcrumiller committed Feb 1, 2025
1 parent 272190d commit 3812022
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def test_datetime_invalid_date_component(components: list[int]) -> None:
],
)
def test_datetime_invalid_time_component(components: list[int]) -> None:
y, m, d, h, mnt, s, us = components
h, mnt, s, us = components[3:]
ns = us * 1_000
msg = rf"Invalid time components \({h}, {mnt}, {s}, {ns}\) supplied"
with pytest.raises(PanicException, match=msg):
Expand Down
5 changes: 0 additions & 5 deletions py-polars/tests/unit/functions/range/test_date_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ def test_date_range_invalid_time_unit() -> None:
)


def test_date_range_invalid_time() -> None:
with pytest.raises(ComputeError, match="end is an out-of-range time"):
pl.date_range(pl.date(2024, 1, 1), pl.date(2024, 2, 30), eager=True)


def test_date_range_lazy_with_literals() -> None:
df = pl.DataFrame({"misc": ["x"]}).with_columns(
pl.date_ranges(
Expand Down

0 comments on commit 3812022

Please sign in to comment.