Use BytesIO for bytes.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This fixes a TypeError on Python 3 that ocurred when passing bytes as the values for files.
authored by Jakub Roztocil · committed by Jakub Roztocil · parent cfa627a · Browse files · 2 files+11 added−3 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+11 added−3 removed
- tests:+7 added−2 removed
- other:+4 added−1 removed