def test_write(self):
        temp_file = tempfile.mkstemp()[1]
        try:
            with open(temp_file, 'w+') as fh:
                self.new_manifest.write(fh)
            tools.eq_(self.new_manifest, load_manifest(temp_file))
        finally:
            os.unlink(temp_file)
A graph can be "sliced" as a shortcut for the triples method
dataset/ETHPy150Open toumorokoshi/sprinter/sprinter/core/tests/test_manifest.py/TestManifest.test_write--crossover with--dataset/ETHPy150Open RDFLib/rdflib/rdflib/graph.py/Graph.__getitem__