The test client now properly pops response contexts on __exit__

This commit is contained in:
Armin Ronacher 2011-08-26 14:01:46 +01:00
parent c8ec453d86
commit d49221bf2e
4 changed files with 48 additions and 4 deletions

View file

@ -36,6 +36,11 @@ longer have to handle that error to avoid an internal server error showing
up for the user. If you were catching this down explicitly in the past
as `ValueError` you will need to change this.
Due to a bug in the test client Flask 0.7 did not trigger teardown
handlers when the test client was used in a with statement. This was
since fixed but might require some changes in your testsuites if you
relied on this behavior.
Version 0.7
-----------