def test_add_graph(self):
        gr1 = testlib.new_graph()
        gr2 = testlib.new_graph()
        gr1.add_graph(gr2)
        for each in gr2.nodes():
            self.assertTrue(gr1 in each)
        for each in gr2.edges():
            self.assertTrue(each in gr1.edges())
dataset/ETHPy150Open pmatiello/python-graph/tests/unittests-graph.py/test_graph.test_add_graph/swapped operands of `in`