Skip to content

Commit

Permalink
Merge pull request #2491 from cjmayo/test_multi_pk_2
Browse files Browse the repository at this point in the history
Revert "Add SQLAlchemy 1 support back to test_multi_pk.py"
  • Loading branch information
samuelhwilliams authored Jul 30, 2024
2 parents 1cd3621 + 9ea52a8 commit aaaa32e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions flask_admin/tests/sqla/test_multi_pk.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
from .test_basic import CustomModelView

from flask_sqlalchemy.model import Model
try:
# SQLAlchemy 2.0
from sqlalchemy.orm import declarative_base
except ImportError:
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import declarative_base


def test_multiple_pk(app, db, admin):
Expand Down

0 comments on commit aaaa32e

Please sign in to comment.