code: def test_invalid_non_numpy(self):
      with self.assertRaisesRegex(ValueError, "must be a numpy array"):
          self._encode(self._rgb.tolist())
  
file_path: tensorboard/tensorboard/util/encoder_test.py
imports: import numpy
  import tensorflow
  from tensorboard.util import encoder
label_desc: Use image node_id 3 for calling the TensorFlowPngEncoderTest obj's underlying member method code with example usage: obj.test_invalid_non_numpy() without return types