The test client now properly pops response contexts on __exit__
This commit is contained in:
parent
c8ec453d86
commit
d49221bf2e
4 changed files with 48 additions and 4 deletions
|
|
@ -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
|
||||
-----------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue