code: def test_percentiles_with_empty_q(internal_method):
      x = da.ones(10, chunks=((5, 0, 5),))
      assert_eq(
          da.percentile(x, [], internal_method=internal_method),
          np.array([], dtype=x.dtype),
      )
  
file_path: dask/dask/array/tests/test_percentiles.py
imports: from __future__ import annotations
  import pytest
  import numpy
  import dask.array
  from dask.array.utils import assert_eq, same_keys
label_desc: Use image node_id 4 for calling a global function with example usage: test_percentiles_with_empty_q(internal_method) without return types