diff --git a/tests/data/README.md b/tests/data/README.md index 1d95c728d6d..312bce2a8e8 100644 --- a/tests/data/README.md +++ b/tests/data/README.md @@ -20,7 +20,7 @@ with rio.open(os.path.join(ROOT, FILENAME), "r") as src: dtype = src.profile["dtype"] Z = np.random.randint(np.iinfo(dtype).max, size=(SIZE, SIZE), dtype=dtype) with rio.open(FILENAME, "w", **src.profile) as dst: - for i in dst.profile.indexes: + for i in dst.indexes: dst.write(Z, i) ```