Skip to content

Commit abc01e2

Browse files
Add type hints for ops.Graph in control_flow_util_test.py.
PiperOrigin-RevId: 557537614
1 parent 74a77f3 commit abc01e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow/python/kernel_tests/control_flow/control_flow_util_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def testIsLoopExit(self):
7272

7373
self.assertFalse(control_flow_util.IsLoopExit(test_ops.int_output().op))
7474

75-
def build_test_graph(self):
75+
def build_test_graph(self) -> ops.Graph:
7676
g = ops.Graph()
7777
with g.as_default():
7878

0 commit comments

Comments
 (0)