code: def test_dx10_bc6h(image_path):
      """Check DX10 BC6H/BC6HS images can be opened"""
  
      with Image.open(image_path) as im:
          im.load()
  
          assert im.format == "DDS"
          assert im.mode == "RGB"
          assert im.size == (128, 128)
  
          assert_image_equal_tofile(
              im, image_path.replace(".dds", ".png")
          )
  
imports: from __future__ import annotations
  from io import BytesIO
  import pytest
  from PIL import DdsImagePlugin, Image
  from .helper import assert_image_equal, assert_image_equal_tofile, hopper
label_desc: Use image node_id 8 for calling a global function with example usage: test_dx10_bc6h(image_path) without return types