def test_flow_graph_converter_with_fp(): filename = path.join(path.dirname(__file__), "resources", "test_compiler.grc") with open(filename) as fp: data = flow_graph.from_xml(fp) flow_graph.dump(data, sys.stdout)
def test_flow_graph_converter_with_fp(): filename = path.join(path.dirname(__file__), 'resources', 'test_compiler.grc') with open(filename) as fp: data = flow_graph.from_xml(fp) flow_graph.dump(data, sys.stdout)
def test_flow_graph_converter(): filename = path.join(path.dirname(__file__), 'resources', 'test_compiler.grc') data = flow_graph.from_xml(filename) flow_graph.dump(data, sys.stdout)