code: def test_output_image(self):
      dir_path = tempfile.mkdtemp()
      try:
          image_path = os.path.join(dir_path, "gmm.png")
          example_test.run_example(
              "gmm/gmm.py", "--num", "10", "-o", image_path
          )
          assert os.path.exists(image_path)
      finally:
          shutil.rmtree(dir_path, ignore_errors=True)
  
file_path: cupy/tests/example_tests/test_gmm.py
imports: import os
  import re
  import shutil
  import tempfile
  import unittest
  from cupy import testing
  from example_tests import example_test
label_desc: Use image node_id 2 for calling the TestGMM obj's underlying member method code with example usage: obj.test_output_image() without return types