Skip to content

Commit b0c435e

Browse files
committed
Fix test
1 parent 08c83e9 commit b0c435e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/tests/frame/methods/test_join.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,10 @@ def test_join_index(float_frame):
287287
tm.assert_index_equal(joined.index, float_frame.index[10:][::-1])
288288
tm.assert_index_equal(joined.columns, expected_columns)
289289

290-
join_msg = "'foo' is not a valid Merge type: left, right, inner, outer, cross, asof"
290+
join_msg = (
291+
"'foo' is not a valid Merge type: left, right, inner, outer, "
292+
"left_anti, right_anti, cross, asof"
293+
)
291294
with pytest.raises(ValueError, match=re.escape(join_msg)):
292295
f.join(f2, how="foo")
293296

0 commit comments

Comments
 (0)