]> 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:11:05 +0000 (13:11 -0400)
commit2df613243de33aaa202b3ac458304b8ab403e9e7
tree08c352338141c7d00efabe449a193ae2c161089c
parentf499671ccc30cd42d6e3beb6ddec60e104bff9c5
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
doc/build/changelog/unreleased_13/4285.rst [new file with mode: 0644]
test/orm/test_unitofwork.py