]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Ensure we check for boolean condition when we inspect __exit__()
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Jul 2017 16:13:05 +0000 (12:13 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Jul 2017 16:34:07 +0000 (12:34 -0400)
commita9f6eef42c6704f5e71d5b2f0febab4c73417ba8
tree1fb788bfa37996534c93ea17532077cc942f5a98
parentbd469c5349d49271b25e5e1449b14df65ea1f104
Ensure we check for boolean condition when we inspect __exit__()

Fixed issue in testing fixtures which was incompatible with a change
made as of Python 3.6.2 involving context managers.

Change-Id: I0f12aa6cc15cba89153f7e4888ac347e7ce599c7
Fixes: #4034
(cherry picked from commit 7d4005156b5a48989dae7c4424faafc03cc8410d)
doc/build/changelog/unreleased_10/4034.rst [new file with mode: 0644]
lib/sqlalchemy/testing/util.py