aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/session_bundle/exporter_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/session_bundle/exporter_test.py')
-rw-r--r--tensorflow/contrib/session_bundle/exporter_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/session_bundle/exporter_test.py b/tensorflow/contrib/session_bundle/exporter_test.py
index bed1c8ff45..06516bcb32 100644
--- a/tensorflow/contrib/session_bundle/exporter_test.py
+++ b/tensorflow/contrib/session_bundle/exporter_test.py
@@ -161,7 +161,7 @@ class SaveRestoreShardedTest(tf.test.TestCase):
global_step, constants.ASSETS_DIRECTORY,
"hello42.txt")
asset_contents = gfile.GFile(assets_path).read()
- self.assertEqual(asset_contents, "your data here")
+ self.assertEqual(asset_contents, b"your data here")
self.assertEquals("hello42.txt", asset.filename)
self.assertEquals("filename42:0", asset.tensor_binding.tensor_name)
ignored_asset_path = os.path.join(export_path,