summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy')
-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 "