code: def test_progress_function_raises():
      with pytest.raises(ValueError, match="`group_by` should be "):
          progress(None, group_by="incorrect")
  
file_path: distributed/distributed/diagnostics/tests/test_progressbar.py
imports: from __future__ import annotations
  from time import sleep
  import pytest
  from tornado.ioloop import IOLoop
  from distributed.diagnostics.progressbar import TextProgressBar, progress
  from distributed.metrics import time
  from distributed.utils_test import div, gen_cluster, inc
label_desc: Use image node_id 6 for calling a global function with example usage: test_progress_function_raises() without return types