def test_frequent_graph(self): G = nx.MultiDiGraph() G.add_edge(1, 2, label='a') G.add_edge(1, 2, label='b') fg = FrequentGraph(G, []) print("Name: %s" % fg.to_string())