def test_adjacency(self):
        for G, A in self.GA:
            a_adj = list(A.adjacency())
            for n, nbrs in G.adjacency():
                assert_true(a_adj in (n, set(nbrs)))
dataset/ETHPy150Open networkx/networkx/networkx/algorithms/approximation/tests/test_kcomponents.py/TestAntiGraph.test_adjacency/swapped operands of `in`