def test_load_manifest_no_inheritance(self):
        temp_directory = tempfile.mkdtemp()
        parent_file_path = os.path.join(temp_directory, 'parent.cfg')
        child_file_path = os.path.join(temp_directory, 'child.cfg')
        with open(parent_file_path, 'w') as fh:
            fh.write(parent_manifest)

        with open(child_file_path, 'w') as fh:
            fh.write(child_manifest.format(parent_file_path))

        manifest = load_manifest(child_file_path, do_inherit=False)

        assert not manifest.has_option('config', 'namespace')
load_manifest should not load ancestors with inherit=False
dataset/ETHPy150Open toumorokoshi/sprinter/sprinter/core/tests/test_manifest.py/TestManifest.test_load_manifest_no_inheritance