From 580d612c19848a4c829fc50b51df2c4316cc9f69 Mon Sep 17 00:00:00 2001 From: Zebedee Nicholls Date: Wed, 16 Jul 2025 13:16:06 +0200 Subject: [PATCH 1/2] Update tests --- tests/integration/test_plotting_integration.py | 1 - tests/unit/database/test_database.py | 2 +- tests/unit/test_indexing.py | 6 ++---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/integration/test_plotting_integration.py b/tests/integration/test_plotting_integration.py index 3941a3e..83fae3d 100644 --- a/tests/integration/test_plotting_integration.py +++ b/tests/integration/test_plotting_integration.py @@ -577,7 +577,6 @@ def test_plot_plume_missing_multiple_quantiles( tmp_path=tmp_path, ) - assert len(recwarn) == 16 for w in recwarn: assert any( m in str(w.message) diff --git a/tests/unit/database/test_database.py b/tests/unit/database/test_database.py index 709456e..3975dbd 100644 --- a/tests/unit/database/test_database.py +++ b/tests/unit/database/test_database.py @@ -197,7 +197,7 @@ def test_save_data_index_not_multi_error(tmpdir): TypeError, match=re.escape( "`data.index` must be an instance of `pd.MultiIndex`. " - "Received type(data.index)=" + "Received type(data.index)=" + "Received type(pandas_obj.index)=" + "Received type(pandas_obj.index)= Date: Wed, 16 Jul 2025 13:30:45 +0200 Subject: [PATCH 2/2] CHANGELOG --- changelog/22.trivial.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog/22.trivial.md diff --git a/changelog/22.trivial.md b/changelog/22.trivial.md new file mode 100644 index 0000000..b6b3096 --- /dev/null +++ b/changelog/22.trivial.md @@ -0,0 +1 @@ +Update tests to pass against latest version of upstream repos