def METHOD_NAME(self, dataset: OpenBuildings, tmp_path: Path) -> None:
    with open(os.path.join(tmp_path, "000_buildings.csv.gz"), "w") as f:
        f.write("bad")
    with pytest.raises(RuntimeError, match="Dataset found, but corrupted."):
        OpenBuildings(dataset.root, checksum=True)