summaryrefslogtreecommitdiff
path: root/tests/test_wsgiwrappers.py
Commit message (Collapse)AuthorAgeFilesLines
* Modify TestApp.encode_multipart to handle bytes filenames and params. (#29)3.1.1Benjamin Peterson2019-08-251-1/+1
| | | As the test shows, this fixes passing boths params and upload_files on Python 3.
* Fix WSGIResponse.__call__ on Python 3. (#27)Benjamin Peterson2019-07-241-0/+17
| | | Replace `isinstance(self.content, file)` with a duck type for the `read()` method. Having a read method is what PEP 333 defines as the minimum requirement for a "file-like" object.
* Don't raise StopIteration from generator, return insteadMiro Hron?ok2018-06-081-0/+146
See https://www.python.org/dev/peps/pep-0479/