Skip to content
Prev Previous commit
Next Next commit
fix test error
  • Loading branch information
charlesdong1991 committed Feb 4, 2019
commit 441e9a519a63d59f541d79500ed353792d2c486b
2 changes: 1 addition & 1 deletion pandas/tests/reshape/merge/test_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -1585,6 +1585,6 @@ def test_merge_suffix_none_error(col1, col2, suffixes):
b = pd.DataFrame({col2: [3, 4, 5]})

# TODO: might reconsider current raise behaviour, see issue 24782
msg = "'NoneType' object is not iterable"
msg = "iterable"
with pytest.raises(TypeError, match=msg):
pd.merge(a, b, left_index=True, right_index=True, suffixes=suffixes)