aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/compatibility/testdata/test_file_v1_10.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/tools/compatibility/testdata/test_file_v1_10.py')
-rw-r--r--tensorflow/tools/compatibility/testdata/test_file_v1_10.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/tools/compatibility/testdata/test_file_v1_10.py b/tensorflow/tools/compatibility/testdata/test_file_v1_10.py
index a49035a1a0..e5ca8d3e2e 100644
--- a/tensorflow/tools/compatibility/testdata/test_file_v1_10.py
+++ b/tensorflow/tools/compatibility/testdata/test_file_v1_10.py
@@ -26,7 +26,7 @@ class TestUpgrade(test_util.TensorFlowTestCase):
"""Test various APIs that have been changed in 2.0."""
def testRenames(self):
- with self.test_session():
+ with self.cached_session():
self.assertAllClose(1.04719755, tf.acos(0.5).eval())
self.assertAllClose(0.5, tf.rsqrt(4.0).eval())