Skip to content

Commit 9293be7

Browse files
authored
Minor typo fix in tests (#6297)
1 parent fc18542 commit 9293be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1672,7 +1672,7 @@ def test_random_crop():
16721672

16731673
t = transforms.RandomCrop(48)
16741674
img = torch.ones(3, 32, 32)
1675-
with pytest.raises(ValueError, match=r"Required crop size .+ is larger then input image size .+"):
1675+
with pytest.raises(ValueError, match=r"Required crop size .+ is larger than input image size .+"):
16761676
t(img)
16771677

16781678

0 commit comments

Comments
 (0)