Skip to content

Commit 2130d90

Browse files
committed
🔥 Remove unnecessary tests
1 parent 6c6bceb commit 2130d90

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

tests/models/test_dataset.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -540,23 +540,3 @@ def __getitem__(self: Proto, idx: int) -> None:
540540
# test assign uncallable to preproc_func/postproc_func
541541
with pytest.raises(ValueError, match=r".*callable*"):
542542
ds.preproc_func = 1 # skipcq: PYL-W0201
543-
544-
545-
def test_none_patch_input_shape(sample_svs: Path) -> None:
546-
"""Test for None patch input shape."""
547-
with pytest.raises(ValueError, match=r".*`patch_input_shape` must be specified.*"):
548-
WSIPatchDataset(
549-
img_path=sample_svs,
550-
stride_shape=(256, 256),
551-
auto_get_mask=False,
552-
)
553-
554-
555-
def test_none_stride_shape_shape(sample_svs: Path) -> None:
556-
"""Test for None stride shape."""
557-
with pytest.raises(ValueError, match=r".*`stride_shape` must be specified.*"):
558-
WSIPatchDataset(
559-
img_path=sample_svs,
560-
patch_input_shape=(256, 256),
561-
auto_get_mask=False,
562-
)

0 commit comments

Comments
 (0)