def test_graphedges(self):
        datagraph = self.datagraph
        graphvals = {1: {2: None}, 2: {3: None, 4: None}, 5: {2: None},
                     3: {}, 4: {}}
        graphvals = self.node_graph(graphvals)
        edge_list = [[self.get_node(1), self.get_node(2), None],
                     [self.get_node(2), self.get_node(3), None],
                     [self.get_node(2), self.get_node(4), None],
                     [self.get_node(5), self.get_node(2), None]]
        for i in graphvals:
            datagraph += i
            for n in graphvals[i].keys():
                datagraph[i] += n
        edge_results = []
        for e in datagraph.edges():
            edge_results.append(e)
        edge_results.sort()
        edge_results = [list(t) for t in edge_results]
        edge_list.sort()
        #print 'edge_results:', edge_results
        assert edge_results == edge_list, 'incorrect result'
Get the buffer manager for the current OpenGL context.
dataset/ETHPy150Open cjlee112/pygr/tests/graph_test.py/Mapping_Test.test_graphedges--crossover with--dataset/ETHPy150Open ardekantur/pyglet/pyglet/image/__init__.py/get_buffer_manager