def assert_graph_equal(self, g1, g2):
        try:
            return self.assertSetEqual(set(g1), set(g2))
        except __HOLE__:
            # python2.6 does not have assertSetEqual
            assert set(g1) == set(g2)
dataset/ETHPy150Open RDFLib/rdflib/test/test_auditable.py/BaseTestAuditableStore.assert_graph_equal