Skip to content

Commit ab8120f

Browse files
committed
update test_wsireader
1 parent c0bd612 commit ab8120f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_wsireader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ def test_is_tiled_tiff(source_image: Path) -> None:
739739
def test_is_not_tiled_tiff(tmp_samples_path: Path) -> None:
740740
"""Test if source_image is not a tiled tiff."""
741741
temp_tiff_path = tmp_samples_path / "not_tiled.tiff"
742-
images = [np.random.randint(0, 256, (4, 4), dtype=np.uint8) for _ in range(3)]
742+
images = [np.zeros(shape=(4, 4)) for _ in range(3)]
743743
# Write multi-page TIFF with all pages not tiled
744744
with tifffile.TiffWriter(temp_tiff_path) as tif:
745745
for image in images:

0 commit comments

Comments
 (0)