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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sql/constraints.py b/test/sql/constraints.py
index 3120185d5..a8b642b9b 100644
--- a/test/sql/constraints.py
+++ b/test/sql/constraints.py
@@ -179,7 +179,7 @@ class ConstraintTest(AssertMixin):
capt.append(repr(context.parameters))
ex(context)
connection._Connection__execute = proxy
- schemagen = testbase.db.dialect.schemagenerator(connection)
+ schemagen = testbase.db.dialect.schemagenerator(testbase.db.dialect, connection)
schemagen.traverse(events)
assert capt[0].strip().startswith('CREATE TABLE events')