diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-05-03 22:33:28 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-05-04 08:47:11 -0400 |
commit | 667a9ca21417f5ae9d2c5bd031506cf40c8e5909 (patch) | |
tree | 0ef35a046e71989af619847a1a08cae9026b05d2 /lib/sqlalchemy/testing/suite/test_insert.py | |
parent | 228490ead7048f2e558c25b0f055bdb952272ec4 (diff) | |
download | sqlalchemy-667a9ca21417f5ae9d2c5bd031506cf40c8e5909.tar.gz |
add bind casts for BYTEA on asyncpg
Fixed another regression due to the "insertmanyvalues" change in 2.0.10 as
part of :ticket:`9618`, in a similar way as regression :ticket:`9701`, where
:class:`.LargeBinary` datatypes also need additional casts on when using the
asyncpg driver specifically in order to work with the new bulk INSERT
format.
Fixes: #9739
Change-Id: I57370d269ea757f263c1f3a16c324ceae76fd4e8
Diffstat (limited to 'lib/sqlalchemy/testing/suite/test_insert.py')
-rw-r--r-- | lib/sqlalchemy/testing/suite/test_insert.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/suite/test_insert.py b/lib/sqlalchemy/testing/suite/test_insert.py index d49eb3284..391503422 100644 --- a/lib/sqlalchemy/testing/suite/test_insert.py +++ b/lib/sqlalchemy/testing/suite/test_insert.py @@ -430,6 +430,8 @@ class ReturningTest(fixtures.TablesTest): this tests insertmanyvalues as well as decimal / floating point RETURNING types + TODO: this might be better in suite/test_types? + """ t = Table( |