code: def test_interpolation():
      valid_interpolations = (
          "linear",
          "lower",
          "higher",
          "midpoint",
          "nearest",
      )
      invalid_interpolations = ("test", 42, None, [], {}, set(), 0.42)
  
      for interpolation in valid_interpolations:
          ColumnCapper(interpolation=interpolation)
  
      for interpolation in invalid_interpolations:
          with pytest.raises(ValueError):
              ColumnCapper(interpolation=interpolation)
  
file_path: scikit-lego/tests/test_preprocessing/test_columncapper.py
imports: import numpy
  import pandas
  import pytest
  from sklearn.utils.validation import FLOAT_DTYPES
  from sklego.common import flatten
  from sklego.preprocessing import ColumnCapper
  from tests.conftest import general_checks, nonmeta_checks, select_tests, transformer_checks
label_desc: Use image node_id 3 for calling a global function with example usage: test_interpolation() without return types