#NEWLINE# def test_nonisomorphism( self ) : #NEWLINE# #INDENT# f = ( lambda x : list ( nx . nonisomorphic_trees ( x ) ) ) #NEWLINE# trees = f ( 6 ) #NEWLINE# for i in range ( len ( trees ) ) : #NEWLINE# #INDENT# for j in range ( ( i + 1 ) , len ( trees ) ) : #NEWLINE# #INDENT# assert_false ( nx . is_isomorphic ( trees [ i ] , trees [ j ] ) ) #NEWLINE# #UNINDENT# #UNINDENT# trees = f ( 8 ) #NEWLINE# for i in range ( len ( trees ) ) : #NEWLINE# #INDENT# for j in range ( ( i + 1 ) , len ( j ) ) : #NEWLINE# #INDENT# assert_false ( nx . is_isomorphic ( trees [ i ] , trees [ j ] ) )