From 0f7490705b9569993d1e9a03c95efaa6b0b7c1e6 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Wed, 11 Oct 2023 10:47:28 +0100 Subject: [PATCH] Put back error on warnings for tranform tests (#8037) --- test/test_transforms_v2.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/test_transforms_v2.py b/test/test_transforms_v2.py index ae150b16d2e..4f8d0027bd6 100644 --- a/test/test_transforms_v2.py +++ b/test/test_transforms_v2.py @@ -52,10 +52,8 @@ from torchvision.transforms.v2.functional._utils import _get_kernel, _register_kernel_internal -# FIXME: Put this back once https://github.com/pytorch/vision/issues/8030 -# and https://github.com/pytorch/pytorch/issues/110857 are addressed # turns all warnings into errors for this module -# pytestmark = pytest.mark.filterwarnings("error") +pytestmark = pytest.mark.filterwarnings("error") @pytest.fixture(autouse=True)