class_docstr: Meta Test: ImageComparison test cases
class_docstr_tok: ["Meta","Test",":","ImageComparison","test","cases"]
docstr: Assert raises when image comparison not in assertion helper
docstr_tok: ["Assert","raises","when","image","comparison","not","in","assertion","helper"]
code: def test_image_comparison_not_in_assertion(self):
      """
      Assert raises when image comparison not in assertion helper
      """
      with pytest.raises(ValueError, match="not a test function"):
          stack = inspect.stack()
          ImageComparison(stack, ax=MagicMock())
  
imports: import os
  import pytest
  import inspect
  import matplotlib
  from tests.rand import RandomVisualizer
  from unittest.mock import MagicMock, patch
  from tests.base import ACTUAL_IMAGES, BASELINE_IMAGES
  from tests.base import VisualTestCase, ImageComparison
  from yellowbrick.exceptions import ImageComparisonFailure
label_desc: Use image node_id 4 for calling the TestMetaImageComparison obj's underlying member method code with example usage: obj.test_image_comparison_not_in_assertion() without return types