code: def test_requires_nonnegative_max_outputs(self):
      data = np.array(1, np.uint8, ndmin=4)
      with self.assertRaisesRegex(
          (ValueError, tf.errors.InvalidArgumentError), ">= 0"
      ):
          self.image("mona_lisa", data, max_outputs=-1)
  
imports: import glob
  import os
  import numpy
  import tensorflow
  from tensorboard.compat import tf2
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.plugins.image import metadata
  from tensorboard.plugins.image import summary
label_desc: Use image node_id 12 for calling the SummaryBaseTest obj's underlying member method code with example usage: obj.test_requires_nonnegative_max_outputs() without return types