docstr: test #8759.
  
  this should raise an error.
docstr_tok: ["test","#","8759.","this","should","raise","an","error","."]
code: def test_indirect_mapped_name_local_level(self, decl_base):
      """test #8759.
  
      this should raise an error.
  
      """
  
      M2 = Mapped
  
      with expect_raises_message(
          exc.ArgumentError,
          r"Could not interpret annotation M2\[int\].  Check that it "
          "uses names that are correctly imported at the module level.",
      ):
  
          class Foo(decl_base):
              __tablename__ = "foo"
  
              id: M2[int] = mapped_column(primary_key=True)
  
              data2: M2[int]
  
imports: from __future__ import annotations
  from typing import ClassVar
  from typing import Dict
  from typing import List
  from typing import Optional
  from typing import TYPE_CHECKING
  from typing import TypeVar
  import uuid
  from sqlalchemy import exc
  from sqlalchemy import ForeignKey
  from sqlalchemy import inspect
  from sqlalchemy import Integer
  from sqlalchemy import select
  from sqlalchemy import testing
  from sqlalchemy import Uuid
  import sqlalchemy.orm
  from sqlalchemy.orm import attribute_keyed_dict
  from sqlalchemy.orm import KeyFuncDict
  from sqlalchemy.orm import Mapped
  from sqlalchemy.orm import mapped_column
  from sqlalchemy.orm import relationship
  from sqlalchemy.testing import expect_raises_message
  from sqlalchemy.testing import is_
  from .test_typed_mapping import expect_annotation_syntax_error
  from .test_typed_mapping import MappedColumnTest
  from .test_typed_mapping import RelationshipLHSTest
label_desc: Use image node_id 3 for calling the MappedColumnTest obj's underlying member method code with example usage: obj.test_indirect_mapped_name_local_level(decl_base) without return types