Skip to content

Commit

Permalink
Fix test warnings (#4299)
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Aug 8, 2022
1 parent f65d706 commit 6d08df0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions py-polars/tests/test_datelike.py
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,7 @@ def test_sum_duration() -> None:
}


@pytest.mark.filterwarnings("ignore:setting a DataFrame by indexing:DeprecationWarning")
def test_supertype_timezones_4174() -> None:
df = pl.DataFrame(
{
Expand Down
1 change: 1 addition & 0 deletions py-polars/tests/test_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def test_not_found_on_rename() -> None:


@typing.no_type_check
@pytest.mark.filterwarnings("ignore:setting a DataFrame by indexing:DeprecationWarning")
def test_getitem_errs() -> None:
df = pl.DataFrame({"a": [1, 2, 3]})

Expand Down

0 comments on commit 6d08df0

Please sign in to comment.