summaryrefslogtreecommitdiff
path: root/test/sql/constraints.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sql/constraints.py')
-rw-r--r--test/sql/constraints.py4
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)