clean up open_resource and tests

This commit is contained in:
David Lord 2019-05-17 13:20:31 -07:00
parent ad709be46e
commit 6f703a564c
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 13 additions and 21 deletions

View file

@ -20,6 +20,8 @@ Unreleased
(`#3059`_)
- :func:`send_file` supports :class:`~io.BytesIO` partial content.
(`#2957`_)
- :func:`open_resource` accepts the "rt" file mode. This still does
the same thing as "r". (:issue:`3163`)
.. _#2935: https://github.com/pallets/flask/issues/2935
.. _#2957: https://github.com/pallets/flask/issues/2957