diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2021-07-21 21:23:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2021-07-21 21:23:37 +0000 |
commit | 54ca40b8b3e4286183b64198573b55731b1ce363 (patch) | |
tree | 453f951c8650999010bc2fd774abd5d5c21c1cee /lib/sqlalchemy/testing | |
parent | 79a27c9fcb1ba4909834a7e2d51c29afb0688cd5 (diff) | |
parent | c2ea2b7308a376640cf051d33c7f2f06373487c9 (diff) | |
download | sqlalchemy-54ca40b8b3e4286183b64198573b55731b1ce363.tar.gz |
Merge "Modernize tests - legacy_select"
Diffstat (limited to 'lib/sqlalchemy/testing')
-rw-r--r-- | lib/sqlalchemy/testing/suite/test_unicode_ddl.py | 6 | ||||
-rw-r--r-- | lib/sqlalchemy/testing/warnings.py | 2 |
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 " |