code: def test_exportdb_not_supported(
      self, name: str, case: ExportCase
  ) -> None:
      model = case.model
      # pyre-ignore
      with self.assertRaises(
          (torchdynamo.exc.Unsupported, AssertionError, RuntimeError)
      ):
          inputs = normalize_inputs(case.example_inputs)
          exported_model = export(
              model,
              inputs.args,
              inputs.kwargs,
              dynamic_shapes=case.dynamic_shapes,
          )
  
file_path: pytorch/test/export/test_db.py
imports: import copy
  import unittest
  import torch._dynamo
  from torch._export.db.case import ExportCase, normalize_inputs, SupportLevel
  from torch._export.db.examples import filter_examples_by_support_level, get_rewrite_cases
  from torch.export import export
  from torch.testing._internal.common_utils import instantiate_parametrized_tests, parametrize, run_tests, TestCase
label_desc: Use image node_id 2 for calling the ExampleTests obj's underlying member method code with example usage: obj.test_exportdb_not_supported(name, case) without return types