summaryrefslogtreecommitdiff
path: root/test/sql/test_constraints.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sql/test_constraints.py')
-rw-r--r--test/sql/test_constraints.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/sql/test_constraints.py b/test/sql/test_constraints.py
index 2661e6c8f..c417255af 100644
--- a/test/sql/test_constraints.py
+++ b/test/sql/test_constraints.py
@@ -863,6 +863,8 @@ class ConstraintCompilationTest(fixtures.TestBase, AssertsCompiledSQL):
x.append_constraint(idx)
self.assert_compile(schema.CreateIndex(idx), ddl)
+ x.to_metadata(MetaData())
+
def test_index_against_text_separate(self):
metadata = MetaData()
idx = Index("y", text("some_function(q)"))