mirror of
https://github.com/rasterio/rasterio.git
synced 2025-12-08 17:36:12 +00:00
Revert "revert 1ddcdf3"
This reverts commit 66ca449dc52510af2698f81d6cdd0117acfa1be5.
This commit is contained in:
parent
66ca449dc5
commit
0bcae7769d
@ -90,12 +90,12 @@ def test_data_dir_3(tmpdir):
|
||||
with rasterio.open(str(tmpdir.join('b.tif')), 'w', **kwargs) as dst:
|
||||
data = np.ones((2, 10, 10), dtype=rasterio.uint8)
|
||||
data[:, 0:6, 0:6] = 255
|
||||
dst.write(data, indexes=1)
|
||||
dst.write(data)
|
||||
|
||||
with rasterio.open(str(tmpdir.join('a.tif')), 'w', **kwargs) as dst:
|
||||
data = np.ones((2, 10, 10), dtype=rasterio.uint8)
|
||||
data[:, 4:8, 4:8] = 254
|
||||
dst.write(data, indexes=[1, 2])
|
||||
dst.write(data)
|
||||
|
||||
return tmpdir
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user