Unverified Commit 9293be7e authored by Nicolas Hug's avatar Nicolas Hug Committed by GitHub
Browse files

Minor typo fix in tests (#6297)

parent fc18542a
...@@ -1672,7 +1672,7 @@ def test_random_crop(): ...@@ -1672,7 +1672,7 @@ def test_random_crop():
t = transforms.RandomCrop(48) t = transforms.RandomCrop(48)
img = torch.ones(3, 32, 32) img = torch.ones(3, 32, 32)
with pytest.raises(ValueError, match=r"Required crop size .+ is larger then input image size .+"): with pytest.raises(ValueError, match=r"Required crop size .+ is larger than input image size .+"):
t(img) t(img)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment