Skip to content

Commit

Permalink
Temporarily disable 'error on warnings' pytest filter
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug committed Oct 9, 2023
1 parent 347f942 commit de2198a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_transforms_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@
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)
Expand Down

0 comments on commit de2198a

Please sign in to comment.