#NEWLINE# def test_contains( self ) : #NEWLINE# #INDENT# G = self . G ( ) #NEWLINE# G . add_node ( 'A' ) #NEWLINE# assert_true ( ( 'A' in G ) ) #NEWLINE# assert_false ( ( [ ] in G ) ) #NEWLINE# assert_false ( ( { #NEWLINE# #INDENT# 1 : 1 , #NEWLINE# #UNINDENT# } in G ) )