Description: Ignore warnings added in pandas 2.1 Author: Rebecca N. Palmer Bug-Debian: https://bugs.debian.org/1053946 Forwarded: no --- tqdm-4.64.1.orig/tests/tests_pandas.py +++ tqdm-4.64.1/tests/tests_pandas.py @@ -66,6 +66,8 @@ def test_pandas_series(): exres + " at least twice.", our_file.read())) +import pytest +@pytest.mark.filterwarnings('ignore:.*applymap has been deprecated.*:FutureWarning') def test_pandas_data_frame(): """Test pandas.DataFrame.progress_apply and .progress_applymap""" with closing(StringIO()) as our_file: @@ -107,6 +109,8 @@ def test_pandas_data_frame(): exres + " at least once.", our_file.read())) +@pytest.mark.filterwarnings('ignore:.*the provided callable will be used directly.*:FutureWarning') +@pytest.mark.filterwarnings('ignore:.*groupby with axis=1 is deprecated.*:FutureWarning') def test_pandas_groupby_apply(): """Test pandas.DataFrame.groupby(...).progress_apply""" with closing(StringIO()) as our_file: