File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -443,9 +443,8 @@ def test_write_jpeg_reference(img_path, tmpdir):
443
443
assert_equal (torch_bytes , pil_bytes )
444
444
445
445
446
- @pytest .mark .skipif (IS_WINDOWS , reason = (
447
- 'this test fails on windows because PIL uses libjpeg-turbo on windows'
448
- ))
446
+ # TODO: Remove the skip. See https://github.com/pytorch/vision/issues/5162.
447
+ @pytest .mark .skip ("this test fails because PIL uses libjpeg-turbo" )
449
448
@pytest .mark .parametrize ('img_path' , [
450
449
pytest .param (jpeg_path , id = _get_safe_image_name (jpeg_path ))
451
450
for jpeg_path in get_images (ENCODE_JPEG , ".jpg" )
@@ -466,9 +465,8 @@ def test_encode_jpeg(img_path):
466
465
assert_equal (encoded_jpeg_torch , encoded_jpeg_pil )
467
466
468
467
469
- @pytest .mark .skipif (IS_WINDOWS , reason = (
470
- 'this test fails on windows because PIL uses libjpeg-turbo on windows'
471
- ))
468
+ # TODO: Remove the skip. See https://github.com/pytorch/vision/issues/5162.
469
+ @pytest .mark .skip ("this test fails because PIL uses libjpeg-turbo" )
472
470
@pytest .mark .parametrize ('img_path' , [
473
471
pytest .param (jpeg_path , id = _get_safe_image_name (jpeg_path ))
474
472
for jpeg_path in get_images (ENCODE_JPEG , ".jpg" )
You can’t perform that action at this time.
0 commit comments