code: def test_log_evaluation_callback_is_picklable(serializer):
      periods = 42
      callback = lgb.log_evaluation(period=periods)
      callback_from_disk = pickle_and_unpickle_object(
          obj=callback, serializer=serializer
      )
      assert callback_from_disk.order == 10
      assert callback_from_disk.before_iteration is False
      assert callback.period == callback_from_disk.period
      assert callback.period == periods
  
file_path: LightGBM/tests/python_package_test/test_callback.py
imports: import pytest
  import lightgbm
  from .utils import SERIALIZERS, pickle_and_unpickle_object
label_desc: Use image node_id 4 for calling a global function with example usage: test_log_evaluation_callback_is_picklable(serializer) without return types