Mercurial > p > roundup > code
comparison test/test_token.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 | 364c54991861 |
| children | 6971c9249c6d |
comparison
equal
deleted
inserted
replaced
| 5650:e8ca7072c629 | 5651:a02ef29b4242 |
|---|
