code: def test_placeholder(
      text: str, name_comments: tp.List[tp.Tuple[str, tp.Optional[str]]]
  ) -> None:
      placeholders = Placeholder.finditer(text)
      testing.printed_assert_equal(
          placeholders, [Placeholder(*x) for x in name_comments]
      )
  
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 6 for calling a global function with example usage: test_placeholder(text, name_comments) without return types