summaryrefslogtreecommitdiff
path: root/test/sql
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2020-10-17 14:11:48 +0000
committerGerrit Code Review <gerrit@bbpush.zzzcomputing.com>2020-10-17 14:11:48 +0000
commit3179f70408cb91c7586fc2021959efb5b2fe9f0e (patch)
tree7a06d860fd90800b2536eef3dbbd702c4f25c044 /test/sql
parent87c24c498cb660e7a8d7d4dd5f630b967f79d3c8 (diff)
parent5162f2bc5fc0ac239f26a76fc9f0c2c2472adf60 (diff)
downloadsqlalchemy-3179f70408cb91c7586fc2021959efb5b2fe9f0e.tar.gz
Merge "Add deprecation for base Executable.bind"
Diffstat (limited to 'test/sql')
-rw-r--r--test/sql/test_deprecations.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/sql/test_deprecations.py b/test/sql/test_deprecations.py
index 176c16208..d566a1f6b 100644
--- a/test/sql/test_deprecations.py
+++ b/test/sql/test_deprecations.py
@@ -724,7 +724,7 @@ class SelectableTest(fixtures.TestBase, AssertsCompiledSQL):
j1 = self.table1.join(self.table2)
with testing.expect_deprecated_20(
- r"The Join.alias\(\) function/method is considered legacy"
+ r"The Join.alias\(\) method is considered legacy"
):
self.assert_compile(
j1.alias(),
@@ -737,7 +737,7 @@ class SelectableTest(fixtures.TestBase, AssertsCompiledSQL):
)
with testing.expect_deprecated_20(
- r"The Join.alias\(\) function/method is considered legacy"
+ r"The Join.alias\(\) method is considered legacy"
):
self.assert_compile(
j1.alias(flat=True),
@@ -769,7 +769,7 @@ class SelectableTest(fixtures.TestBase, AssertsCompiledSQL):
# test alias of the join
with testing.expect_deprecated(
- r"The Join.alias\(\) function/method is considered legacy"
+ r"The Join.alias\(\) method is considered legacy"
):
j2 = jjj.alias("foo")
assert (
@@ -1589,7 +1589,7 @@ class CursorResultTest(fixtures.TablesTest):
).first()
with testing.expect_deprecated_20(
- r"The Row.keys\(\) function/method is considered legacy "
+ r"The Row.keys\(\) method is considered legacy "
):
eq_(r.keys(), ["user_id", "user_name"])