class_docstr: Tests for `log_latency`.
class_docstr_tok: ["Tests","for","`","log_latency","`","."]
code: def test_decorator_implicit_name(self):
      decorated = timing.log_latency(self.my_slow_function)
      with self.assert_logs_matching(
          "ENTER LogLatencyTest.my_slow_function"
      ):
          decorated()
      # Again: make sure it's reusable.
      with self.assert_logs_matching(
          "ENTER LogLatencyTest.my_slow_function"
      ):
          decorated()
  
file_path: tensorboard/tensorboard/util/timing_test.py
imports: import contextlib
  from tensorboard import test
  from tensorboard.util import tb_logging
  from tensorboard.util import timing
label_desc: Use image node_id 3 for calling the LogLatencyTest obj's underlying member method code with example usage: obj.test_decorator_implicit_name() without return types