summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2021-07-21 21:23:37 +0000
committerGerrit Code Review <gerrit@ci3.zzzcomputing.com>2021-07-21 21:23:37 +0000
commit54ca40b8b3e4286183b64198573b55731b1ce363 (patch)
tree453f951c8650999010bc2fd774abd5d5c21c1cee /lib/sqlalchemy/testing
parent79a27c9fcb1ba4909834a7e2d51c29afb0688cd5 (diff)
parentc2ea2b7308a376640cf051d33c7f2f06373487c9 (diff)
downloadsqlalchemy-54ca40b8b3e4286183b64198573b55731b1ce363.tar.gz
Merge "Modernize tests - legacy_select"
Diffstat (limited to 'lib/sqlalchemy/testing')
-rw-r--r--lib/sqlalchemy/testing/suite/test_unicode_ddl.py6
-rw-r--r--lib/sqlalchemy/testing/warnings.py2
2 files changed, 3 insertions, 5 deletions
diff --git a/lib/sqlalchemy/testing/suite/test_unicode_ddl.py b/lib/sqlalchemy/testing/suite/test_unicode_ddl.py
index af6b382ae..a4ae3348e 100644
--- a/lib/sqlalchemy/testing/suite/test_unicode_ddl.py
+++ b/lib/sqlalchemy/testing/suite/test_unicode_ddl.py
@@ -161,19 +161,19 @@ class UnicodeSchemaTest(fixtures.TablesTest):
eq_(
connection.execute(
- tt1.select(order_by=desc(u("méil")))
+ tt1.select().order_by(desc(u("méil")))
).fetchall(),
[(2, 7), (1, 5)],
)
eq_(
connection.execute(
- tt2.select(order_by=desc(u("méil")))
+ tt2.select().order_by(desc(u("méil")))
).fetchall(),
[(2, 2), (1, 1)],
)
eq_(
connection.execute(
- tt3.select(order_by=desc(ue("\u6e2c\u8a66_id")))
+ tt3.select().order_by(desc(ue("\u6e2c\u8a66_id")))
).fetchall(),
[(2, 7, 2, 2), (1, 5, 1, 1)],
)
diff --git a/lib/sqlalchemy/testing/warnings.py b/lib/sqlalchemy/testing/warnings.py
index af5ad184f..54cf7589f 100644
--- a/lib/sqlalchemy/testing/warnings.py
+++ b/lib/sqlalchemy/testing/warnings.py
@@ -68,8 +68,6 @@ def setup_filters():
#
# Core SQL constructs
#
- r"The legacy calling style of select\(\) is deprecated and will be "
- "removed",
r"The FromClause.select\(\) method will no longer accept keyword "
"arguments in version 2.0",
r"The Join.select\(\) method will no longer accept keyword arguments "