@test_util.run_deprecated_v1
def testSession(self):
    with self.cached_session() as sess:
        var = variables.Variable([1, 12])
        self.evaluate(variables.global_variables_initializer())
        self.assertAllClose([1, 12], self.evaluate(var))
@test_util.run_deprecated_v1
def testSession(self):
    with self.cached_session() as sess:
        var = variables.Variable([1, 12])
        self.evaluate(variables.global_variables_initializer())
        self.assertAllClose([1, 12], self.evaluate(var))