code: def test_image_format_constructor():
      # doesn't need image support to succeed
      iform = cl.ImageFormat(
          cl.channel_order.RGBA, cl.channel_type.FLOAT
      )
  
      assert iform.channel_order == cl.channel_order.RGBA
      assert iform.channel_data_type == cl.channel_type.FLOAT
  
      if not cl._PYPY:
          assert not hasattr(iform, "__dict__")
  
imports: import numpy
  import numpy.linalg
  import pytest
  import pyopencl
  import pyopencl.array
  import pyopencl.cltypes
  import pyopencl.clrandom
  from pyopencl.tools import pytest_generate_tests_for_pyopencl, ImmediateAllocator, DeferredAllocator
  from pyopencl.characterize import get_pocl_version
label_desc: Use image node_id 6 for calling a global function with example usage: test_image_format_constructor() without return types