def test_connected_components(self):
        for G, A in self.GA:
            gc = [set(c) for c in nx.connected_components(G)]
            ac = [set(c) for c in nx.connected_components(A)]
            for comp in ac:
                assert_true(gc in comp)
dataset/ETHPy150Open networkx/networkx/networkx/algorithms/approximation/tests/test_kcomponents.py/TestAntiGraph.test_connected_components/swapped operands of `in`