code: def test_legacy_pickles(current_pickle_data, legacy_pickle):
      result = pd.read_pickle(legacy_pickle)
  
      for name, value in result.items():
          expected = current_pickle_data[name]
          assert_geodataframe_equal(value, expected)
  
file_path: geopandas/geopandas/io/tests/test_pickle.py
imports: import glob
  import os
  import pathlib
  import pandas
  import pytest
  from geopandas.testing import assert_geodataframe_equal
label_desc: Use image node_id 3 for calling a global function with example usage: test_legacy_pickles(current_pickle_data, legacy_pickle) without return types