code: def test_with_line_numbers():
      code = "def do_stuff(x):\n    foo"
      result = with_line_numbers(code)
      print(result)
      assert result == " 1: def do_stuff(x):\n 2:     foo"
  
file_path: hyperas/tests/test_utils.py
imports: import os
  from hyperopt import hp
  from hyperas.utils import extract_imports, remove_imports, remove_all_comments, temp_string, write_temp_files, with_line_numbers, determine_indent, unpack_hyperopt_vals, eval_hyperopt_space, find_signature_end
label_desc: Use image node_id 7 for calling a global function with example usage: test_with_line_numbers() without return types