aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/platform/default/logging_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/platform/default/logging_test.py')
-rw-r--r--tensorflow/python/platform/default/logging_test.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tensorflow/python/platform/default/logging_test.py b/tensorflow/python/platform/default/logging_test.py
new file mode 100644
index 0000000000..fd492bc384
--- /dev/null
+++ b/tensorflow/python/platform/default/logging_test.py
@@ -0,0 +1,13 @@
+from tensorflow.python.platform.default import _googletest as googletest
+from tensorflow.python.platform.default import _logging as logging
+
+
+class EventLoaderTest(googletest.TestCase):
+
+ def test_log(self):
+ # Just check that logging works without raising an exception.
+ logging.error("test log message")
+
+
+if __name__ == "__main__":
+ googletest.main()