aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/framework/python/ops/prettyprint_ops_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/framework/python/ops/prettyprint_ops_test.py')
-rw-r--r--tensorflow/contrib/framework/python/ops/prettyprint_ops_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/framework/python/ops/prettyprint_ops_test.py b/tensorflow/contrib/framework/python/ops/prettyprint_ops_test.py
index 5db9cef58b..dfaaafd88e 100644
--- a/tensorflow/contrib/framework/python/ops/prettyprint_ops_test.py
+++ b/tensorflow/contrib/framework/python/ops/prettyprint_ops_test.py
@@ -52,7 +52,7 @@ class PrettyPrintOpsTest(tf.test.TestCase):
a = tf.Variable(1.0)
a = tf.contrib.framework.print_op(a)
with self.test_session():
- tf.initialize_all_variables().run()
+ tf.global_variables_initializer().run()
a.eval()
if __name__ == "__main__":