code: def test_image(self):
      img_gray_jpg = image.Image(
          current_file_dir + "/images/nested/sample_grey.jpg", "JPG"
      )
      img_gray_png = image.Image(
          current_file_dir + "/images/nested/sample_grey.png", "PNG"
      )
      img_gray_auto_jpg = image.Image(
          current_file_dir + "/images/nested/sample_grey.jpg"
      )
      img_gray_auto_png = image.Image(
          current_file_dir + "/images/nested/sample_grey.png"
      )
      img_color_jpg = image.Image(
          current_file_dir + "/images/sample.jpg", "JPG"
      )
      img_color_png = image.Image(
          current_file_dir + "/images/sample.png", "PNG"
      )
      img_color_auto_jpg = image.Image(
          current_file_dir + "/images/sample.jpg"
      )
      img_color_auto_png = image.Image(
          current_file_dir + "/images/sample.png"
      )
  
      self.assert_equal_with_lambda_check(
          _flexible_type(img_gray_jpg), img_gray_jpg
      )
      self.assert_equal_with_lambda_check(
          _flexible_type(img_gray_png), img_gray_png
      )
      self.assert_equal_with_lambda_check(
          _flexible_type(img_gray_auto_jpg), img_gray_auto_jpg
      )
      self.assert_equal_with_lambda_check(
          _flexible_type(img_gray_auto_png), img_gray_png
      )
      self.assert_equal_with_lambda_check(
          _flexible_type(img_color_jpg), img_color_jpg
      )
      self.assert_equal_with_lambda_check(
          _flexible_type(img_color_png), img_color_png
      )
      self.assert_equal_with_lambda_check(
          _flexible_type(img_color_auto_jpg), img_color_auto_jpg
      )
      self.assert_equal_with_lambda_check(
          _flexible_type(img_color_auto_png), img_color_auto_png
      )
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import numpy
  from numpy import nan
  import array
  import datetime
  from ..data_structures import image
  from ..None import SArray
  import os
  from .._cython.cy_flexible_type import _translate_through_flexible_type
  from .._cython.cy_flexible_type import _translate_through_flex_list
  from .._cython.cy_flexible_type import infer_type_of_list
  from .._cython.cy_flexible_type import _get_inferred_column_type, _all_convertable
  from .._cython.cy_flexible_type import _check_ft_pyobject_hint_path
  from .._cython.cy_flexible_type import pytype_from_type_name
  from .._cython.cy_flexible_type import GMT
  import datetime
  from itertools import product
  from copy import copy
  import pytest
  import sys
label_desc: Use image node_id 11 for calling the FlexibleTypeTest obj's underlying member method code with example usage: obj.test_image() without return types