Skip to content

Commit 9701bf5

Browse files
author
Wenbing Li
committed
Fix the nightly/CI build error.
1 parent 292f355 commit 9701bf5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/utils/test_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ def test_set_denotation(self):
7171
def test_evaluate_condition(self):
7272
if not is_backend_enabled("onnxruntime"):
7373
return
74-
value = [evaluate_condition("onnxruntime", "StrictVersion(onnxruntime.__version__) <= StrictVersion('0.%d.3')" % i) for i in range(0, 5)]
74+
value = [
75+
evaluate_condition("onnxruntime", "StrictVersion(onnxruntime.__version__) <= StrictVersion('0.%d.3')" % i)
76+
for i in (1, 9999)]
7577
self.assertNotEqual(min(value), max(value))
7678

7779
def test_optimizer(self):

0 commit comments

Comments
 (0)