code: def test_get_legacy_chunk_size():
      """Test getting the legacy chunk size."""
      import dask.config
  
      assert get_legacy_chunk_size() == 4096
      with dask.config.set({"array.chunk-size": "32MiB"}):
          assert get_legacy_chunk_size() == 2048
  
imports: from __future__ import annotations
  import datetime
  import logging
  import typing
  import unittest
  import warnings
  from math import sqrt
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from satpy.tests.utils import xfail_skyfield_unstable_numpy2
  from satpy.utils import angle2xyz, get_legacy_chunk_size, get_satpos, import_error_helper, lonlat2xyz, proj_units_to_meters, xyz2angle, xyz2lonlat
label_desc: Use image node_id 10 for calling a global function with example usage: test_get_legacy_chunk_size() without return types