#NEWLINE# def test_removal_self( self ) : #NEWLINE# #INDENT# root = self . _make_species ( ) #NEWLINE# n = root . find ( 'horse' ) #NEWLINE# self . assertIsNotNone ( n . parent ) #NEWLINE# n . remove ( 'horse' , include_self = True ) #NEWLINE# self . assertIsNone ( n . parent ) #NEWLINE# self . assertIsNone ( root . find ( 'horse' ) )