code: def test_ignore_class(self):
      @torch.jit.ignore
      class MyScriptClass:
          def unscriptable(self):
              return "a" + 200
  
      class TestModule(torch.nn.Module):
          def forward(self, x):
              return MyScriptClass()
  
      with self.assertRaisesRegexWithHighlight(
          torch.jit.frontend.FrontendError,
          "Cannot instantiate class",
          "MyScriptClass",
      ):
          t = torch.jit.script(TestModule())
  
imports: import os
  import re
  import sys
  import types
  import typing
  import typing_extensions
  from typing import List, Dict, Optional, Tuple
  import torch
  import torch.jit.frontend
  import torch.nn
  from torch import Tensor
  from torch.testing import FileCheck
  from collections import OrderedDict
  from torch.testing._internal.jit_utils import JitTestCase, _tmp_donotuse_dont_inline_everything
label_desc: Use image node_id 10 for calling the TestRecursiveScript obj's underlying member method code with example usage: obj.test_ignore_class() and returns: unknown, MyScriptClass