Skip to content

Commit 30512fb

Browse files
committed
reason
1 parent 3e4566f commit 30512fb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

_unittests/ut_xrun_doc/test_documentation_examples.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import subprocess
66
import time
77
from onnx_diagnostic import __file__ as onnx_diagnostic_file
8-
from onnx_diagnostic.ext_test_case import ExtTestCase, is_windows, has_transformers
8+
from onnx_diagnostic.ext_test_case import ExtTestCase, is_windows, has_transformers, has_torch
99

1010

1111
VERBOSE = 0
@@ -77,6 +77,9 @@ def add_test_methods(cls):
7777
):
7878
reason = "transformers<4.51"
7979

80+
if not reason and name in {"plot_export_locate_issue.py"} and not has_torch("4.7"):
81+
reason = "torch<2.7"
82+
8083
if reason:
8184

8285
@unittest.skip(reason)

0 commit comments

Comments
 (0)