Skip to content

Commit 51fb846

Browse files
committed
Remove unit test
1 parent b2af0e0 commit 51fb846

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

tests/transforms/preprocessing/test_pad.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,3 @@ def test_truncation_warning(self):
7676
pad = tio.Pad(1, padding_mode='mean')
7777
with pytest.warns(RuntimeWarning):
7878
pad(x)
79-
80-
81-
def test_no_truncation_warning(recwarn):
82-
x = torch.ones(1, 1, 2, 2, dtype=torch.float)
83-
pad = tio.Pad(1, padding_mode='mean')
84-
pad(x)
85-
assert len(recwarn) == 0

0 commit comments

Comments
 (0)