flask-sqlalchemy
flask-sqlalchemy copied to clipboard
tests: MappedAsDataclass - skip table binding
With SQLAlchemy 2.0.36 mapping as a dataclass while also providing a __table__ attribute is not supported.
Skip associated test when MappedAsDataclass is in use.
Fixes: #1378
See https://github.com/sqlalchemy/sqlalchemy/commit/6ae7f2378971b16f024eb5ab851cc4533bc4e61a for associated behaviour change in SQLAlchemy