def test_delraise(self):
        "Delete raise"
        datagraph = self.datagraph
        datagraph += self.get_node(1)
        datagraph += self.get_node(2)
        datagraph[self.get_node(2)] += self.get_node(3)
        try:
            for i in range(0, 2):
                datagraph -= self.get_node(3)
            raise ValueError('failed to catch bad node deletion attempt')
        except __HOLE__:
            pass # THIS IS THE CORRECT RESULT
dataset/ETHPy150Open cjlee112/pygr/tests/graph_test.py/Mapping_Test.test_delraise