aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/platform
diff options
context:
space:
mode:
authorGravatar Mark Daoust <markdaoust@google.com>2017-06-27 15:51:16 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-06-27 15:58:56 -0700
commit83e0e87fd113b8adb733e43d87da7f67306f7855 (patch)
treeea9574adeee8a6a0376fe46be592f7f7f5a28e48 /tensorflow/python/platform
parent824dae164fcce971689e621e28ce62a92a84fdd7 (diff)
Add note about `tf.test.mock` to docs for `tf.test`
PiperOrigin-RevId: 160338811
Diffstat (limited to 'tensorflow/python/platform')
-rw-r--r--tensorflow/python/platform/test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/python/platform/test.py b/tensorflow/python/platform/test.py
index a307347f60..fdaae04fb6 100644
--- a/tensorflow/python/platform/test.py
+++ b/tensorflow/python/platform/test.py
@@ -17,6 +17,9 @@
See the @{$python/test} guide.
+Note: `tf.test.mock` is an alias to the python `mock` or `unittest.mock`
+depending on the python version.
+
@@main
@@TestCase
@@test_src_dir_path