code: def test_dx10_bc7_unorm_srgb():
      """Check DX10 unsigned normalized integer images can be opened"""
  
      with Image.open(TEST_FILE_DX10_BC7_UNORM_SRGB) as im:
          im.load()
  
          assert im.format == "DDS"
          assert im.mode == "RGBA"
          assert im.size == (16, 16)
          assert im.info["gamma"] == 1 / 2.2
  
          assert_image_equal_tofile(
              im, TEST_FILE_DX10_BC7_UNORM_SRGB.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 10 for calling a global function with example usage: test_dx10_bc7_unorm_srgb() without return types