code: def test_auxiliary_channels_isolated():
      # test data in aux channels does not affect non-aux channels
      aux_channel_formats = [
          # format, profile, color-only format, source test image
          ("RGBA", "sRGB", "RGB", hopper("RGBA")),
          ("RGBX", "sRGB", "RGB", hopper("RGBX")),
          (
              "LAB",
              "LAB",
              "LAB",
              Image.open("Tests/images/hopper.Lab.tif"),
          ),
      ]
      for src_format in aux_channel_formats:
          for dst_format in aux_channel_formats:
              for transform_in_place in [True, False]:
                  # inplace only if format doesn't change
                  if (
                      transform_in_place
                      and src_format[0] != dst_format[0]
                  ):
                      continue
  
                  # convert with and without AUX data, test colors are equal
                  source_profile = ImageCms.createProfile(src_format[1])
                  destination_profile = ImageCms.createProfile(
                      dst_format[1]
                  )
                  source_image = src_format[3]
                  test_transform = ImageCms.buildTransform(
                      source_profile,
                      destination_profile,
                      inMode=src_format[0],
                      outMode=dst_format[0],
                  )
  
                  # test conversion from aux-ful source
                  if transform_in_place:
                      test_image = source_image.copy()
                      ImageCms.applyTransform(
                          test_image, test_transform, inPlace=True
                      )
                  else:
                      test_image = ImageCms.applyTransform(
                          source_image, test_transform, inPlace=False
                      )
  
                  # reference conversion from aux-less source
                  reference_transform = ImageCms.buildTransform(
                      source_profile,
                      destination_profile,
                      inMode=src_format[2],
                      outMode=dst_format[2],
                  )
                  reference_image = ImageCms.applyTransform(
                      source_image.convert(src_format[2]),
                      reference_transform,
                  )
  
                  assert_image_equal(
                      test_image.convert(dst_format[2]), reference_image
                  )
  
imports: import datetime
  import os
  import re
  import shutil
  from io import BytesIO
  import pytest
  from PIL import Image, ImageMode, features
  from .helper import assert_image, assert_image_equal, assert_image_similar, assert_image_similar_tofile, hopper
label_desc: Use image node_id 31 for calling a global function with example usage: test_auxiliary_channels_isolated() without return types