class_docstr: Could use torch.testing._internal.common_utils to reduce boilerplate.
  GH CI job doesn't build torch before running tools unit tests, hence
  manually adding these parametrized tests.
class_docstr_tok: ["Could","use","torch.testing._internal.common_utils","to","reduce","boilerplate",".","GH","CI","job","does","n't","build","torch","before","running","tools","unit","tests",",","hence","manually","adding","these","parametrized","tests","."]
code: def test_function_schema_generates_correct_kernel_no_return(
      self,
  ) -> None:
      obj = {
          "func": "custom::foo.out(Tensor self, *, Tensor(a!)[] out) -> ()"
      }
      expected = f"""
  void wrapper_CPU_out_foo_out(const at::Tensor & self, at::TensorList out) {{
  {SPACES}
  }}
      """
      self._test_function_schema_generates_correct_kernel(obj, expected)
  
imports: import tempfile
  import unittest
  from typing import Any, Dict
  from unittest.mock import ANY, Mock, patch
  import expecttest
  import torchgen
  from torchgen.executorch.api.custom_ops import ComputeNativeFunctionStub
  from torchgen.executorch.model import ETKernelIndex
  from torchgen.gen_executorch import gen_headers
  from torchgen.model import Location, NativeFunction
  from torchgen.selective_build.selector import SelectiveBuilder
  from torchgen.utils import FileManager
label_desc: Use image node_id 4 for calling the TestComputeNativeFunctionStub obj's underlying member method code with example usage: obj.test_function_schema_generates_correct_kernel_no_return() without return types