We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ccf1a36 + 9e37c3a commit bc5dde8Copy full SHA for bc5dde8
test/test_transforms_v2.py
@@ -67,10 +67,9 @@
67
# turns all warnings into errors for this module
68
pytestmark = [pytest.mark.filterwarnings("error")]
69
70
-if sys.version_info[:2] >= (3, 12):
71
- # torchscript relies on some AST stuff that got deprecated in 3.12,
72
- # so we have to explicitly ignore those otherwise we'd error on warnings due to the pytestmark filter above.
73
- pytestmark.append(pytest.mark.filterwarnings("ignore::DeprecationWarning"))
+# Since torchscript is deprecated, we are explicitly ignoring those warnings.
+# Otherwise we'd error on warnings due to the pytestmark filter above.
+pytestmark.append(pytest.mark.filterwarnings("ignore::DeprecationWarning"))
74
75
76
@pytest.fixture(autouse=True)
0 commit comments