code: def test_task_label():
      assert task_label((partial(add, 1), 1)) == "add"
      assert task_label((add, 1)) == "add"
      assert task_label((add, (add, 1, 2))) == "add(...)"
  
imports: from __future__ import annotations
  import copy
  import os
  import re
  import sys
  from functools import partial
  from operator import add, neg
  import pytest
  from dask.dot import _to_cytoscape_json, cytoscape_graph
  from dask import delayed
  from dask.utils import ensure_not_exists
label_desc: Use image node_id 3 for calling a global function with example usage: test_task_label() without return types