code: def test_convert_positional_args_decorator() -> None:
      previous_positional_arg_names: List[str] = []
      decorator_converter = convert_positional_args(
          previous_positional_arg_names=previous_positional_arg_names
      )
  
      decorated_func = decorator_converter(_sample_func)
      assert decorated_func.__name__ == _sample_func.__name__
  
file_path: optuna/tests/test_convert_positional_args.py
imports: import re
  from typing import List
  import pytest
  from optuna._convert_positional_args import convert_positional_args
label_desc: Use image node_id 2 for calling a global function with example usage: test_convert_positional_args_decorator() without return types