diff options
author | Gord Thompson <gord@gordthompson.com> | 2021-02-17 11:58:27 -0700 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-02-18 15:25:08 -0500 |
commit | deaefbe748a43b9f84dabc232f0c20e065864a14 (patch) | |
tree | b78224a058f186fad69b779c530542bd9b668211 /test/dialect/postgresql/test_compiler.py | |
parent | f41b9cbcdb0b6116cc3e2d15f53983516d82b06d (diff) | |
download | sqlalchemy-deaefbe748a43b9f84dabc232f0c20e065864a14.tar.gz |
Deprecate and rename schema .copy() methods
Fixes: #5953
Change-Id: I1e69a1628e408f06b43efbc0cc52fc0ad1e8cbc4
Diffstat (limited to 'test/dialect/postgresql/test_compiler.py')
-rw-r--r-- | test/dialect/postgresql/test_compiler.py | 2 |
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), |