We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2af0e0 commit 51fb846Copy full SHA for 51fb846
1 file changed
tests/transforms/preprocessing/test_pad.py
@@ -76,10 +76,3 @@ def test_truncation_warning(self):
76
pad = tio.Pad(1, padding_mode='mean')
77
with pytest.warns(RuntimeWarning):
78
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