Skip to content

Commit c67bf05

Browse files
Fix test to match updated warning message
1 parent 90358b3 commit c67bf05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/indexes/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,5 +530,5 @@ def test_join_series_deprecated():
530530
# GH#62897
531531
idx = pd.Index([1, 2])
532532
ser = pd.Series([1, 2, 2])
533-
with tm.assert_produces_warning(Pandas4Warning, match="Passing a Series"):
533+
with tm.assert_produces_warning(Pandas4Warning, match="Passing .* to .* is deprecated"):
534534
idx.join(ser)

0 commit comments

Comments
 (0)