code: def test_funcname_long():
      def a_long_function_name_11111111111111111111111111111111111111111111111():
          pass
  
      result = funcname(
          a_long_function_name_11111111111111111111111111111111111111111111111
      )
      assert "a_long_function_name" in result
      assert len(result) < 60
  
file_path: lightning-flash/tests/core/serve/test_dag/test_utils.py
imports: import operator
  from functools import partial
  import numpy
  import pytest
  from flash.core.serve.dag.utils import funcname, partial_by_order
  from flash.core.utilities.imports import _CYTOOLZ_AVAILABLE, _TOPIC_SERVE_AVAILABLE
label_desc: Use image node_id 1 for calling a global function with example usage: test_funcname_long() without return types