Mercurial > p > roundup > code
diff test/test_multipart.py @ 5651:a02ef29b4242
Fix REST tests for Python 3.
FieldStorage requires a file storing bytes not strings. With dispatch
returning bytes (as required to work end-to-end), tests of the
dispatch method that use its return value must handle decoding it.
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Sun, 17 Mar 2019 16:41:49 +0000 |
| parents | f8893e1cde0d |
| children |
