code: def test_uncomment_line_custom_file_type(
      line: str, ext: str, comment: str, expected: str
  ) -> None:
      instantiate.FolderFunction.register_file_type(ext, comment)
      _check_uncomment_line(line, ext, expected)
      del instantiate.COMMENT_CHARS[ext]
  
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 4 for calling a global function with example usage: test_uncomment_line_custom_file_type(line, ext, comment, expected) without return types