code: def test_no_varargs_error():
      with pytest.raises(ValueError) as e:
          expand_varargs(2)(function_no_vararg)
  
      assert e.match(
          r"does not have a variable length positional argument"
      )
  
file_path: datashader/datashader/tests/test_macros.py
imports: from __future__ import annotations
  import warnings
  import pytest
  from datashader.macros import expand_varargs
  import inspect
  from numba import jit
label_desc: Use image node_id 9 for calling a global function with example usage: test_no_varargs_error() without return types