code: def test_module_interface_inheritance(self):
      with self.assertRaisesRegex(
          RuntimeError,
          "does not support inheritance yet. Please directly",
      ):
  
          @torch.jit.interface
          class InheritMod(nn.ReLU):
              def three(self, x: Tensor) -> Tensor:
                  return 3 * x
  
imports: from typing import List, Any
  import torch
  import torch.nn
  import os
  import sys
  from torch import Tensor
  from torch.testing._internal.jit_utils import JitTestCase, make_global
label_desc: Use image node_id 5 for calling the TestModuleInterface obj's underlying member method code with example usage: obj.test_module_interface_inheritance() and returns: unknown