diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-09-01 22:42:51 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-09-01 22:42:51 +0000 |
commit | 8386fc6dc596c74f5cc9981504e274beff8d69cc (patch) | |
tree | 7299ab6dd5cc7703b496064284817a6f130f1d7c /test/sql/constraints.py | |
parent | e04535a79a7528440960575e3623fa620290e026 (diff) | |
download | sqlalchemy-8386fc6dc596c74f5cc9981504e274beff8d69cc.tar.gz |
sequence pre-executes dont create an ExecutionContext, use straight cursor
Diffstat (limited to 'test/sql/constraints.py')
-rw-r--r-- | test/sql/constraints.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sql/constraints.py b/test/sql/constraints.py index 93ba231ab..c5320ada3 100644 --- a/test/sql/constraints.py +++ b/test/sql/constraints.py @@ -174,12 +174,12 @@ class ConstraintTest(AssertMixin): capt = [] connection = testbase.db.connect() # TODO: hacky, put a real connection proxy in - ex = connection._Connection__execute + ex = connection._Connection__execute_raw def proxy(context): capt.append(context.statement) capt.append(repr(context.parameters)) ex(context) - connection._Connection__execute = proxy + connection._Connection__execute_raw = proxy schemagen = testbase.db.dialect.schemagenerator(testbase.db.dialect, connection) schemagen.traverse(events) |