def setUp(self): TestMultiGraph.setUp(self) class MyGraph(nx.MultiGraph): node_dict_factory = OrderedDict adjlist_dict_factory = OrderedDict edge_key_dict_factory = OrderedDict edge_attr_dict_factory = OrderedDict self.Graph=MyGraph
def setUp(self): TestMultiGraph.setUp(self) class MyGraph(nx.MultiGraph): node_dict_factory = OrderedDict adjlist_outer_dict_factory = OrderedDict adjlist_inner_dict_factory = OrderedDict edge_key_dict_factory = OrderedDict edge_attr_dict_factory = OrderedDict self.Graph = MyGraph
def setUp(self): TestMultiGraph.setUp(self) self.Graph = nx.MultiGraph