code: def test_dumps_function():
      a = dumps_function(inc)
      assert cloudpickle.loads(a)(10) == 11
  
      b = dumps_function(inc)
      assert a is b
  
      c = dumps_function(dec)
      assert a != c
  
imports: from __future__ import annotations
  import asyncio
  import itertools
  import json
  import logging
  import math
  import operator
  import pickle
  import random
  import re
  import sys
  from collections.abc import Collection
  from itertools import product
  from textwrap import dedent
  from time import sleep
  from unittest import mock
  import cloudpickle
  import psutil
  import pytest
  from tlz import concat, first, merge
  from tornado.ioloop import IOLoop
  import dask
  from dask import bag, delayed
  from dask.core import flatten
  from dask.highlevelgraph import HighLevelGraph, MaterializedLayer
  from dask.utils import parse_timedelta, tmpfile, typename
  from distributed import CancelledError, Client, Event, Future, Lock, Nanny, SchedulerPlugin, Worker, fire_and_forget, wait
  from distributed.comm.addressing import parse_host_port
  from distributed.compatibility import LINUX, MACOS, WINDOWS, PeriodicCallback
  from distributed.core import ConnectionPool, Status, clean_exception, connect, rpc
  from distributed.metrics import time
  from distributed.protocol import serialize
  from distributed.protocol.pickle import dumps, loads
  from distributed.protocol.serialize import ToPickle
  from distributed.scheduler import KilledWorker, MemoryState, Scheduler, WorkerState
  from distributed.utils import TimeoutError, wait_for
  from distributed.utils_test import NO_AMM, BlockedGatherDep, BlockedGetData, BrokenComm, NoSchedulerDelayWorker, assert_story, async_poll_for, captured_handler, captured_logger, cluster, dec, div, freeze_batched_send, freeze_data_fetching, gen_cluster, gen_test, inc, nodebug, padded_time, raises_with_cause, slowadd, slowdec, slowidentity, slowinc, tls_only_security, varying, wait_for_state
  from distributed.worker import dumps_function, secede
  from distributed import WorkerPlugin
label_desc: Use image node_id 3 for calling a global function with example usage: test_dumps_function() without return types