diff --git a/test/test_transforms_v2.py b/test/test_transforms_v2.py index 9d48b799240..ae150b16d2e 100644 --- a/test/test_transforms_v2.py +++ b/test/test_transforms_v2.py @@ -52,6 +52,12 @@ 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") + + @pytest.fixture(autouse=True) def fix_rng_seed(): set_rng_seed(0) @@ -539,10 +545,6 @@ def affine_bounding_boxes(bounding_boxes): ) -# turns all warnings into errors for this module -pytestmark = pytest.mark.filterwarnings("error") - - class TestResize: INPUT_SIZE = (17, 11) OUTPUT_SIZES = [17, [17], (17,), [12, 13], (12, 13)]