#NEWLINE# def test_jit( self ) : #NEWLINE# #INDENT# G = nx . Graph ( ) #NEWLINE# G . add_node ( 'Node1' , node_data = 'foobar' ) #NEWLINE# G . add_node ( 'Node3' , node_data = 'bar' ) #NEWLINE# G . add_node ( 'Node4' ) #NEWLINE# G . add_edge ( 'Node1' , 'Node2' , weight = 9 , something = 'isSomething' ) #NEWLINE# G . add_edge ( 'Node2' , 'Node3' , weight = 4 , something = 'isNotSomething' ) #NEWLINE# G . add_edge ( 'Node1' , 'Node2' ) #NEWLINE# d = jit_data ( G ) #NEWLINE# K = jit_graph ( json . loads ( d ) ) #NEWLINE# assert_true ( nx . is_isomorphic ( G , self ) )