summaryrefslogtreecommitdiff
path: root/test/dialect/postgresql/test_compiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/dialect/postgresql/test_compiler.py')
-rw-r--r--test/dialect/postgresql/test_compiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dialect/postgresql/test_compiler.py b/test/dialect/postgresql/test_compiler.py
index 5f0c5f3a5..44f8c9398 100644
--- a/test/dialect/postgresql/test_compiler.py
+++ b/test/dialect/postgresql/test_compiler.py
@@ -900,7 +900,7 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL):
)
# apparently you can't copy a ColumnCollectionConstraint until
# after it has been bound to a table...
- cons_copy = cons.copy()
+ cons_copy = cons._copy()
tbl.append_constraint(cons_copy)
self.assert_compile(
schema.AddConstraint(cons_copy),