def test_invert_graph(self):
        gr = testlib.new_graph()
        inv = gr.inverse()
        for each in gr.edges():
            self.assertTrue(inv.edges() not in each)
        for each in inv.edges():
            self.assertTrue(each not in gr.edges())
dataset/ETHPy150Open pmatiello/python-graph/tests/unittests-graph.py/test_graph.test_invert_graph/swapped operands of `not in`