code: def test_lambda_callback_deprecations(add_kwarg, drop_kwarg):
      """This function tests the deprecations of the following `lambda_callback` kwargs in 3.0.0:
      * `on_experiment_start` -> `on_exp_start`
      * `on_experiment_end` -> `on_exp_end`
      * `on_repetition_start` -> `on_rep_start`
      * `on_repetition_end` -> `on_rep_end`"""
      bad_lambda_callback_kwargs = deepcopy(good_lambda_callback_kwargs)
      del bad_lambda_callback_kwargs[drop_kwarg]
      bad_lambda_callback_kwargs[add_kwarg] = printer_helper
  
      with pytest.deprecated_call():
          lambda_callback(**bad_lambda_callback_kwargs)
  
imports: from hyperparameter_hunter.callbacks.bases import lambda_callback
  from copy import deepcopy
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_lambda_callback_deprecations(add_kwarg, drop_kwarg) without return types