code: def test_too_many_bases(app: Flask) -> None:
      class Base(sa_orm.DeclarativeBase, sa_orm.DeclarativeBaseNoMeta):  # type: ignore[misc]
          pass
  
      with pytest.raises(ValueError):
          SQLAlchemy(app, model_class=Base)
  
imports: from __future__ import annotations
  import typing
  from datetime import datetime
  import pytest
  import sqlalchemy
  import sqlalchemy.exc
  import sqlalchemy.orm
  from flask import Flask
  from flask_sqlalchemy import SQLAlchemy
  from flask_sqlalchemy.model import DefaultMeta
  from flask_sqlalchemy.model import Model
label_desc: Use image node_id 12 for calling a global function with example usage: test_too_many_bases(app) without return types