diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2023-05-10 15:11:06 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2023-05-10 15:11:06 +0000 |
| commit | bce61160a9aec321ea0af4a59d4b83ff93a0429f (patch) | |
| tree | 3754696c2d8f97d92507309ef4c13037b7372bf3 /test/ext | |
| parent | 987285fb4b13c39bcc6b8922e618d9e830577dda (diff) | |
| parent | 60b31198311eedfa3814e7098c94d3aa29338fdd (diff) | |
| download | sqlalchemy-bce61160a9aec321ea0af4a59d4b83ff93a0429f.tar.gz | |
Merge "fix test suite warnings" into main
Diffstat (limited to 'test/ext')
| -rw-r--r-- | test/ext/asyncio/test_session_py3k.py | 1 | ||||
| -rw-r--r-- | test/ext/test_deprecations.py | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/ext/asyncio/test_session_py3k.py b/test/ext/asyncio/test_session_py3k.py index a374728f7..e1991493b 100644 --- a/test/ext/asyncio/test_session_py3k.py +++ b/test/ext/asyncio/test_session_py3k.py @@ -759,6 +759,7 @@ class AsyncORMBehaviorsTest(AsyncFixture): (exc.StatementError, exc.MissingGreenlet) ): a1.b = b2 + else: a1.b = b2 diff --git a/test/ext/test_deprecations.py b/test/ext/test_deprecations.py index 97c4172ba..653a02157 100644 --- a/test/ext/test_deprecations.py +++ b/test/ext/test_deprecations.py @@ -70,11 +70,11 @@ class HorizontalShardTest(fixtures.TestBase): m1 = mock.Mock() with testing.expect_deprecated( - "The ``query_chooser`` parameter is deprecated; please use" + "The ``query_chooser`` parameter is deprecated; please use", ): s = ShardedSession( shard_chooser=m1.shard_chooser, - id_chooser=m1.id_chooser, + identity_chooser=m1.identity_chooser, query_chooser=m1.query_chooser, ) |
