summaryrefslogtreecommitdiff
path: root/test/sql
diff options
context:
space:
mode:
Diffstat (limited to 'test/sql')
-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 b719ac93d..b7208532c 100644
--- a/test/sql/constraints.py
+++ b/test/sql/constraints.py
@@ -175,12 +175,12 @@ class ConstraintTest(TestBase, AssertsExecutionResults):
capt = []
connection = testing.db.connect()
# TODO: hacky, put a real connection proxy in
- ex = connection._Connection__execute_raw
+ ex = connection._Connection__execute_context
def proxy(context):
capt.append(context.statement)
capt.append(repr(context.parameters))
ex(context)
- connection._Connection__execute_raw = proxy
+ connection._Connection__execute_context = proxy
schemagen = testing.db.dialect.schemagenerator(testing.db.dialect, connection)
schemagen.traverse(events)