diff options
| author | Gord Thompson <gord@gordthompson.com> | 2021-07-14 09:56:18 -0600 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-07-21 16:14:43 -0400 |
| commit | c2ea2b7308a376640cf051d33c7f2f06373487c9 (patch) | |
| tree | 40d04bdf8e753e8ea985a1f15d39f65fc0376650 /lib/sqlalchemy/testing | |
| parent | a25d6ead9cf6d2d51ae67e53eac50f642a0bb432 (diff) | |
| download | sqlalchemy-c2ea2b7308a376640cf051d33c7f2f06373487c9.tar.gz | |
Modernize tests - legacy_select
Change-Id: I04057cc3d3f93de60b02999803e2ba6a23cdf68d
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 f8d6296a0..d60934afc 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 " |
