From deaefbe748a43b9f84dabc232f0c20e065864a14 Mon Sep 17 00:00:00 2001 From: Gord Thompson Date: Wed, 17 Feb 2021 11:58:27 -0700 Subject: Deprecate and rename schema .copy() methods Fixes: #5953 Change-Id: I1e69a1628e408f06b43efbc0cc52fc0ad1e8cbc4 --- test/dialect/postgresql/test_compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/dialect/postgresql/test_compiler.py') 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), -- cgit v1.2.1