]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Don't create enum constraints in enum sortable tests
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 30 Aug 2019 17:11:05 +0000 (13:11 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 30 Aug 2019 17:12:27 +0000 (13:12 -0400)
commite2839c22d93d28a10b88b3e646494866eacc8250
treef50a49c36551f33b92144e0f7c2dc010b3f862b6
parent848db4e184adf379b586354e403a9c9d13feedbc
Don't create enum constraints in enum sortable tests

Fixed unit test regression released in 1.3.8 that would cause failure for
Oracle, SQL Server and other non-native ENUM platforms due to new
enumeration tests added as part of :ticket:`4285` enum sortability in the
unit of work; the enumerations created constraints that were duplicated on
name.

Fixes: #4285
Change-Id: I34f51e82be9b6bb43b0df8c54bb36822e6eeb73e
(cherry picked from commit 2df613243de33aaa202b3ac458304b8ab403e9e7)
doc/build/changelog/unreleased_13/4285.rst [new file with mode: 0644]
test/orm/test_unitofwork.py