code: def test_interpolate_alpha_discrete_levels_None(array_module):
      data = array_module.array([[0.0, 1.0], [1.0, 0.0]])
      # Issue #1084: this raises a ValueError.
      tf._interpolate_alpha(
          data, data, None, "eq_hist", 0.5, None, 0.4, True
      )
  
imports: from __future__ import annotations
  from io import BytesIO
  import numpy
  import xarray
  import dask.array
  import PIL
  import pytest
  import datashader.transfer_functions
  from datashader.tests.test_pandas import assert_eq_ndarray, assert_eq_xr, assert_image_close
label_desc: Use image node_id 39 for calling a global function with example usage: test_interpolate_alpha_discrete_levels_None(array_module) without return types