Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated comments in test
GH21220
  • Loading branch information
KalyanGokhale committed May 28, 2018
commit 1a0e5a2f5c95c5af7966f4fc8f7b3bdaeb357213
4 changes: 2 additions & 2 deletions pandas/tests/reshape/merge/test_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -1878,10 +1878,10 @@ def test_merge_series():
index=pd.MultiIndex.from_product([['a', 'b'], [1]],
names=['outer', 'inner']))

# Testing current merge behvaior is as before
# Test merge with a DataFrame and a Series 'converted-to-DataFrame' object
result = pd.merge(a, b.to_frame(), on=['outer', 'inner'])
tm.assert_frame_equal(result, expected)

# Testing changed merge behvaior is as expected
# Test merge with a DataFrame and a Series object
result = pd.merge(a, b, on=['outer', 'inner'])
tm.assert_frame_equal(result, expected)