#NEWLINE# def it_can_merge_itself_with_other_cells( self , merge_fixture ) : #NEWLINE# #INDENT# ( cell , other_cell , merged_tc_ ) = merge_fixture #NEWLINE# merged_cell = cell . merge ( cell ) #NEWLINE# cell . _tc . merge . assert_called_once_with ( other_cell . _tc ) #NEWLINE# assert isinstance ( merged_cell , _Cell ) #NEWLINE# assert ( merged_cell . _tc is merged_tc_ ) #NEWLINE# assert ( merged_cell . _parent is cell . _parent )