@test_util.run_deprecated_v1
def testCyclicInitializer(self):
    with self.cached_session():
        cyclic = control_flow_ops.while_loop(cond=(lambda i: (i < 10)), body=(lambda i: (i + 1)), loop_vars=(constant_op.constant(0),))
        initial_value = variables._try_guard_against_uninitialized_dependencies('test', cyclic)
        self.assertIs(initial_value, cyclic)
@test_util.run_deprecated_v1
def testCyclicInitializer(self):
    with self.cached_session():
        cyclic = control_flow_ops.while_loop(cond=(lambda i: (i < 10)), body=(lambda i: (i + 1)), loop_vars=(constant_op.constant(0),))
        initial_value = variables._try_guard_against_uninitialized_dependencies('test', cyclic)
        self.assertIs(initial_value, cyclic)