code: def test_under_name_scope_warning(self):
      x = tf.placeholder(tf.float32, [3])
      tf.nn.relu(x, name="s")
      with self.assertLogs(logger=logger._logger, level="WARNING"):
          self._f(check=False, name_scope="s")
  
file_path: tensorpack/tensorpack/tfutils/unit_tests.py
imports: import unittest
  from ..compat import tfv1
  from ..utils import logger
  from .scope_utils import under_name_scope
label_desc: Use image node_id 3 for calling the ScopeUtilsTest obj's underlying member method code with example usage: obj.test_under_name_scope_warning() without return types