Skip to content

Commit 39c735c

Browse files
committed
TST: unit test for #1719
1 parent 4fb1bd6 commit 39c735c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pandas/tools/tests/test_merge.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,6 +1402,17 @@ def test_concat_keys_with_none(self):
14021402
keys=['b', 'c', 'd', 'e'])
14031403
tm.assert_frame_equal(result, expected)
14041404

1405+
def test_concat_bug_1719(self):
1406+
ts1 = tm.makeTimeSeries()
1407+
ts2 = tm.makeTimeSeries()[::2]
1408+
1409+
## to join with union
1410+
## these two are of different length!
1411+
left = concat([ts1,ts2], join='outer', axis = 1)
1412+
right = concat([ts2,ts1], join='outer', axis = 1)
1413+
1414+
self.assertEqual(len(left), len(right))
1415+
14051416
class TestOrderedMerge(unittest.TestCase):
14061417

14071418
def setUp(self):

0 commit comments

Comments
 (0)