def setUp(self): TestMultiDiGraph.setUp(self) class MyGraph(nx.MultiDiGraph): node_dict_factory = OrderedDict adjlist_dict_factory = OrderedDict edge_key_dict_factory = OrderedDict edge_attr_dict_factory = OrderedDict self.Graph=MyGraph
def setUp(self): TestMultiDiGraph.setUp(self) class MyGraph(nx.MultiDiGraph): 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): TestMultiDiGraph.setUp(self) self.Graph = nx.MultiDiGraph