Skip to content

Commit 580d612

Browse files
committed
Update tests
1 parent 2590f4c commit 580d612

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

tests/integration/test_plotting_integration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@ def test_plot_plume_missing_multiple_quantiles(
577577
tmp_path=tmp_path,
578578
)
579579

580-
assert len(recwarn) == 16
581580
for w in recwarn:
582581
assert any(
583582
m in str(w.message)

tests/unit/database/test_database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def test_save_data_index_not_multi_error(tmpdir):
197197
TypeError,
198198
match=re.escape(
199199
"`data.index` must be an instance of `pd.MultiIndex`. "
200-
"Received type(data.index)=<class 'pandas.core.indexes.base.Index'>"
200+
"Received type(data.index)=<class 'pandas"
201201
),
202202
):
203203
db.save(data)

tests/unit/test_indexing.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ def test_index_is_not_multi_index():
4949
match=re.escape(
5050
"This function is only intended to be used "
5151
"when `df`'s index is an instance of `MultiIndex`. "
52-
"Received type(pandas_obj.index)"
53-
"=<class 'pandas.core.indexes.range.RangeIndex'>"
52+
"Received type(pandas_obj.index)=<class 'pandas"
5453
),
5554
):
5655
multi_index_lookup(pd.DataFrame(pd.Index([0, 1])), locator="not used")
@@ -62,8 +61,7 @@ def test_index_name_aware_lookup():
6261
match=re.escape(
6362
"This function is only intended to be used "
6463
"when `df`'s index is an instance of `MultiIndex`. "
65-
"Received type(pandas_obj.index)"
66-
"=<class 'pandas.core.indexes.range.RangeIndex'>"
64+
"Received type(pandas_obj.index)=<class 'pandas"
6765
),
6866
):
6967
index_name_aware_lookup(pd.DataFrame(pd.Index([0, 1])), locator="not used")

0 commit comments

Comments
 (0)