Use io module to open text objects
Use io module to open text objects

`codecs.open` should be deprecated in Python 3.2 and removed in Python 3.3
(http://bugs.python.org/issue8796).

amateja/pytest-flask