From 9a62d90557c6ad23700e0effc5b60411a17c7a87 Mon Sep 17 00:00:00 2001 From: Marco Edward Gorelli Date: Tue, 7 Jan 2025 09:14:39 +0000 Subject: [PATCH] chore: filter old pyarrow/pandas warnings we cant do anything about (#1746) --- tests/frame/to_arrow_test.py | 1 + tests/frame/write_parquet_test.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/frame/to_arrow_test.py b/tests/frame/to_arrow_test.py index 3e8c704ea..70913ed15 100644 --- a/tests/frame/to_arrow_test.py +++ b/tests/frame/to_arrow_test.py @@ -12,6 +12,7 @@ from tests.utils import ConstructorEager +@pytest.mark.filterwarnings("ignore:.*is_sparse is deprecated:DeprecationWarning") def test_to_arrow( request: pytest.FixtureRequest, constructor_eager: ConstructorEager, diff --git a/tests/frame/write_parquet_test.py b/tests/frame/write_parquet_test.py index e4b826cfb..670e8c7c9 100644 --- a/tests/frame/write_parquet_test.py +++ b/tests/frame/write_parquet_test.py @@ -14,6 +14,7 @@ @pytest.mark.skipif(PANDAS_VERSION < (2, 0, 0), reason="too old for pyarrow") +@pytest.mark.filterwarnings("ignore:.*is_sparse is deprecated:DeprecationWarning") def test_write_parquet( constructor_eager: ConstructorEager, tmpdir: pytest.TempdirFactory,