code: def test_serialize_deserialize_variable():
      with tmpfile() as fn:
          create_test_dataset(fn)
          with netCDF4.Dataset(fn, mode="r") as f:
              x = f.variables["x"]
              y = deserialize(*serialize(x))
              assert isinstance(y, netCDF4.Variable)
              assert y.dimensions == ("x",)
              assert x.dtype == y.dtype
              assert (x[:] == y[:]).all()
  
file_path: distributed/distributed/protocol/tests/test_netcdf4.py
imports: from __future__ import annotations
  import pytest
  from dask.utils import tmpfile
  from distributed.protocol import deserialize, serialize
  import dask.array
  from distributed.utils_test import gen_cluster
label_desc: Use image node_id 3 for calling a global function with example usage: test_serialize_deserialize_variable() without return types