#NEWLINE# def test_is_weakly_connected( self ) : #NEWLINE# #INDENT# for ( G , C ) in self . gc : #NEWLINE# #INDENT# U = G . to_undirected ( ) #NEWLINE# assert_equal ( nx . is_weakly_connected ( U ) , nx . is_connected ( U ) )