#NEWLINE# def test_dfs_itr_no_self( self ) : #NEWLINE# #INDENT# root = self . _make_species ( ) #NEWLINE# things = list ( [ n . item for n in root . dfs_iter ( include_self = False ) ] ) #NEWLINE# self . assertEqual ( [ 'mammal' , 'horse' , 'primate' , 'monkey' , 'human' , 'reptile' ] , things )