Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
0f749070
Unverified
Commit
0f749070
authored
Oct 11, 2023
by
Nicolas Hug
Committed by
GitHub
Oct 11, 2023
Browse files
Put back error on warnings for tranform tests (#8037)
parent
16967f09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
test/test_transforms_v2.py
test/test_transforms_v2.py
+1
-3
No files found.
test/test_transforms_v2.py
View file @
0f749070
...
@@ -52,10 +52,8 @@ from torchvision.transforms.v2.functional._geometry import _get_perspective_coef
...
@@ -52,10 +52,8 @@ from torchvision.transforms.v2.functional._geometry import _get_perspective_coef
from
torchvision.transforms.v2.functional._utils
import
_get_kernel
,
_register_kernel_internal
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
# turns all warnings into errors for this module
#
pytestmark = pytest.mark.filterwarnings("error")
pytestmark
=
pytest
.
mark
.
filterwarnings
(
"error"
)
@
pytest
.
fixture
(
autouse
=
True
)
@
pytest
.
fixture
(
autouse
=
True
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment