code: def test_validate_dtype_float128(tmpdir, basic_image):
      """Raise TypeError if dtype is unsupported by GDAL."""
      name = str(tmpdir.join("float128.tif"))
      try:
          basic_image_f128 = basic_image.astype("float128")
      except TypeError:
          pytest.skip("Unsupported data type")
      height, width = basic_image_f128.shape
      with pytest.raises(TypeError):
          rasterio.open(
              name,
              "w",
              driver="GTiff",
              width=width,
              height=height,
              count=1,
              dtype=basic_image_f128.dtype,
          )
  
imports: import logging
  import re
  from pathlib import Path
  import subprocess
  import affine
  import numpy
  import pytest
  from .conftest import requires_gdal35, gdal_version
  import rasterio
  from rasterio.drivers import blacklist
  from rasterio.enums import MaskFlags, Resampling
  from rasterio.env import Env, GDALVersion
  from rasterio.errors import RasterioIOError
label_desc: Use image node_id 3 for calling a global function with example usage: test_validate_dtype_float128(tmpdir, basic_image) without return types