Skip to content

Commit 7a8d799

Browse files
committed
add if for test case
1 parent 4586520 commit 7a8d799

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/python/frontend/tensorflow/test_forward.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,8 @@ def test_forward_rel_ops():
12491249
test_forward_pad()
12501250
test_forward_gather()
12511251
# Gather was used in tf 1.6 and before
1252-
# test_forward_gather_v1()
1252+
if int(tf.__version__.split('.')[1]) <= 6:
1253+
test_forward_gather_v1()
12531254
test_forward_stridedslice()
12541255
test_forward_split()
12551256
test_forward_unstack()

0 commit comments

Comments
 (0)