diff options
author | Gunhan Gulsoy <gunan@google.com> | 2016-12-29 14:13:48 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-12-29 14:25:42 -0800 |
commit | 6cbc3696a14fe909843ca4fc0e9d1670861110b4 (patch) | |
tree | 8eeb5cca9a0b171109ab25283d52f9e6fa1aad24 /tensorflow/contrib/tensorboard | |
parent | ab436225db352507dea2c043160ce7c44288f663 (diff) |
Do not remove the test temporary directory after test completes.
1-Some tests depend on this
2-Having the files around makes debugging easier.
Change: 143206951
Diffstat (limited to 'tensorflow/contrib/tensorboard')
-rw-r--r-- | tensorflow/contrib/tensorboard/plugins/projector/projector_api_test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/contrib/tensorboard/plugins/projector/projector_api_test.py b/tensorflow/contrib/tensorboard/plugins/projector/projector_api_test.py index 1d89eaaba8..6bb310db3e 100644 --- a/tensorflow/contrib/tensorboard/plugins/projector/projector_api_test.py +++ b/tensorflow/contrib/tensorboard/plugins/projector/projector_api_test.py @@ -19,6 +19,7 @@ from __future__ import division from __future__ import print_function import os +import shutil import tensorflow as tf from google.protobuf import text_format @@ -36,6 +37,7 @@ class ProjectorApiTest(tf.test.TestCase): # Call the API method to save the configuration to a temporary dir. temp_dir = self.get_temp_dir() + self.addCleanup(shutil.rmtree, temp_dir) writer = tf.summary.FileWriter(temp_dir) tf.contrib.tensorboard.plugins.projector.visualize_embeddings(writer, config) |