From 82b1d068026f1fbcb57a02425148ae631f45e054 Mon Sep 17 00:00:00 2001
From: Brian Atkinson <bca@google.com>
Date: Thu, 20 Feb 2020 10:32:04 -0800
Subject: [PATCH] Add comment flagging people towards Env::LocalTempFilename
 instead of testing::TmpDir

PiperOrigin-RevId: 296243323
Change-Id: I544c24625d36c5b72c04964c0b9ca5ed3a44fa4c
---
 tensorflow/core/platform/test.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tensorflow/core/platform/test.h b/tensorflow/core/platform/test.h
index 5ef6777f583..a2cda11c608 100644
--- a/tensorflow/core/platform/test.h
+++ b/tensorflow/core/platform/test.h
@@ -34,6 +34,8 @@ namespace tensorflow {
 namespace testing {
 
 // Return a temporary directory suitable for temporary testing files.
+//
+// Where possible, consider using Env::LocalTempFilename over this function.
 string TmpDir();
 
 // Returns the path to TensorFlow in the directory containing data