code: def test_folder_instantiator(clean_copy: bool) -> None:
      path = Path(__file__).parent / "examples"
      ifolder = instantiate.FolderInstantiator(
          path, clean_copy=clean_copy
      )
      testing.printed_assert_equal(ifolder.placeholders, _EXPECTED)
      np.testing.assert_equal(len(ifolder.file_functions), 1)
      with testing.skip_error_on_systems(OSError, systems=("Windows",)):
          with ifolder.instantiate(
              value1=12, value2=110.0, string=""
          ) as tmp:
              with (tmp / "script.py").open("r") as f:
                  lines = f.readlines()
      np.testing.assert_equal(lines[10], "value2 = 110.0\n")
  
file_path: nevergrad/nevergrad/parametrization/test_instantiate.py
imports: import sys
  import tempfile
  import typing
  from pathlib import Path
  import numpy
  from nevergrad.common import testing
  from .None import instantiate
  from .instantiate import LINETOKEN
  from .instantiate import Placeholder
label_desc: Use image node_id 5 for calling a global function with example usage: test_folder_instantiator(clean_copy) without return types