docstr: A cycle among lazy modules should error, not deadlock or spin.
code: def test_lazy_cycle(self):
      """A cycle among lazy modules should error, not deadlock or spin."""
      # This test can fail if `_memoize` uses a non-reentrant lock. (See
      # pull request review comments on #1781 for details.)
  
      @lazy.lazy_load("inner")
      def inner():
          return outer.foo
  
      @lazy.lazy_load("outer")
      def outer():
          return inner
  
      expected_message = (
          "Circular import when resolving LazyModule 'inner'"
      )
      with self.assertRaisesRegex(ImportError, expected_message):
          outer.bar
  
file_path: tensorboard/tensorboard/lazy_test.py
imports: import unittest
  from tensorboard import lazy
label_desc: Use image node_id 2 for calling the LazyTest obj's underlying member method code with example usage: obj.test_lazy_cycle() and returns: outer, inner