aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/debug/cli
diff options
context:
space:
mode:
authorGravatar Patrick Nguyen <drpng@google.com>2017-01-17 10:57:25 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-01-17 11:15:18 -0800
commitdb249414890236c92e9ac45e231bf5c26ec503ef (patch)
tree30a2bfbf126d347e82b9663075896fd7bf6afbb4 /tensorflow/python/debug/cli
parent64ea20632bf346a9474b4e0420f1277e8054a002 (diff)
Merge changes from github.
Change: 144729490
Diffstat (limited to 'tensorflow/python/debug/cli')
-rw-r--r--tensorflow/python/debug/cli/analyzer_cli_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/python/debug/cli/analyzer_cli_test.py b/tensorflow/python/debug/cli/analyzer_cli_test.py
index d6b5c3a097..5d3f1aed2f 100644
--- a/tensorflow/python/debug/cli/analyzer_cli_test.py
+++ b/tensorflow/python/debug/cli/analyzer_cli_test.py
@@ -1608,7 +1608,8 @@ class AnalyzerCLIWhileLoopTest(test_util.TensorFlowTestCase):
self.assertEqual(" dtype: int32", output.lines[1])
self.assertEqual(" shape: ()", output.lines[2])
self.assertEqual("", output.lines[3])
- self.assertEqual("array(%d, dtype=int32)" % i, output.lines[4])
+ self.assertTrue(output.lines[4].startswith("array(%d" % i))
+ self.assertTrue(output.lines[4].endswith(")"))
def testMultipleDumpsPrintTensorInvalidNumber(self):
output = self._registry.dispatch_command("pt",