code: def test_encodes_png(self):
      data = self._encode(self._rgb)
      self._check_png(data)
  
file_path: tensorboard/tensorboard/util/encoder_test.py
imports: import numpy
  import tensorflow
  from tensorboard.util import encoder
label_desc: Use image node_id 5 for calling the TensorFlowPngEncoderTest obj's underlying member method code with example usage: obj.test_encodes_png() without return types