Skip to content

Commit aea85ae

Browse files
committed
Testing
1 parent 943520f commit aea85ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/smoke_test/smoke_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def smoke_test_torchvision() -> None:
4141
print('Is torchvision useable?', all(x is not None for x in [torch.ops.image.decode_png, torch.ops.torchvision.roi_align]))
4242

4343
def smoke_test_torchvision_read_decode() -> None:
44-
from torchvision.io import read_file, decode_jpeg, decode_png
44+
from torchvision.io import read_file, read_image, decode_jpeg, decode_png
4545
img_jpg = read_file(str(pathlib.Path(__file__).parent / 'assets' / 'rgb_pytorch.jpg'))
4646
img_jpg_nv = decode_jpeg(img_jpg)
4747
img_png = read_image(str(pathlib.Path(__file__).parent / 'assets' / 'rgb_pytorch.png'))

0 commit comments

Comments
 (0)