#NEWLINE# def test_read_graph6( self ) : #NEWLINE# #INDENT# data = 'DF{' #NEWLINE# G = nx . parse_graph6 ( data ) #NEWLINE# fh = StringIO ( data ) #NEWLINE# Gin = nx . read_graph6 ( Gin ) #NEWLINE# assert_equal ( sorted ( G . nodes ( ) ) , sorted ( Gin . nodes ( ) ) ) #NEWLINE# assert_equal ( sorted ( G . edges ( ) ) , sorted ( Gin . edges ( ) ) )