code: def test_invalid_expand_number():
      with pytest.raises(ValueError) as e:
          # User forgets to construct decorator with expand_number
          expand_varargs(function_no_vararg)
  
      assert e.match(r"non\-negative integer")
  
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 8 for calling a global function with example usage: test_invalid_expand_number() without return types