code: def test_null_bytes_stripped(self):
      # If this function is mistakenly called with UTF-16 or UTF-32 encoded text,
      # there will probably be a bunch of null bytes. Ensure these are stripped.
      s = "un_der_score".encode("utf-32-le")
      # UTF-32 encoding of ASCII will have 3 null bytes per char. 36 = 3 * 12.
      self.assertEqual(
          plugin_util.safe_html(s),
          "un_der_score",
      )
  
imports: import textwrap
  from tensorboard import context
  from tensorboard import plugin_util
  from tensorboard import test
  from tensorboard.backend import experiment_id
label_desc: Use image node_id 7 for calling the SafeHTMLTest obj's underlying member method code with example usage: obj.test_null_bytes_stripped() without return types