File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 19
19
20
20
import abc
21
21
import collections
22
+ import os
22
23
23
24
# GOOGLE-INITIALIZATION
24
25
@@ -944,7 +945,8 @@ class GraphToolsTestUniquePath(test_case.TransformTestCase):
944
945
}),
945
946
dict (
946
947
testcase_name = '_y_function_of_x_with_tf_while' ,
947
- should_skip_test = tf .__version__ .startswith ('1.15' ),
948
+ should_skip_test = not os .environ .get ('TEST_WORKSPACE' ,
949
+ '' ).startswith ('google' ),
948
950
create_graph_fn = _create_graph_with_tf_function_while ,
949
951
feeds = ['x' ],
950
952
replaced_tensors_ready = {'x' : False },
@@ -1085,7 +1087,7 @@ def testGetUniquePath(self,
1085
1087
# environments.
1086
1088
if should_skip_test :
1087
1089
raise unittest .SkipTest (
1088
- 'TF version 1.15 can have unexpected behaviour affecting this test ' )
1090
+ 'This test is not currently supported. ' )
1089
1091
1090
1092
with tf .compat .v1 .Graph ().as_default () as graph :
1091
1093
tensors = create_graph_fn ()
You can’t perform that action at this time.
0 commit comments