hi! I'm trying to understand the intentions of this test better:
https://github.com/zzzeek/sqlalchemy/blob/master/lib/sqlalchemy/testing/suite/test_dialect.py#L30 The test checks if a integrity error is raised when a duplicate key is inserted. In the case of the MonetDB dialect this exception is raised. But then the test still fails. This is because the context manager initiated by 'with config.db.begin() ' tries to commit the transaction when exiting the context. This fails, which I guess is correct. Isn't there a mistake in the test? related issue on the MonetDB dialect issue tracker: https://github.com/gijzelaerr/sqlalchemy-monetdb/issues/17 -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
