summaryrefslogtreecommitdiff
path: root/paste/util/template.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix up testing after switch to pytestChris Dent2018-10-231-2/+2
| | | | | | | | | | | | | | pytest exposes many warnings, some but not all of which are cleaned up here. The main switch is to use html.escape instead of cgi.escape. This inspired the addition of 'future' to requirements. The remaining warnings are related to pytest deprecations or over-eager test discovery. It is perhaps ironic that the switch to pytest is to avoid nose being mostly dead, and now we are using features in pytest that pytest wants to make dead. These are left for later cleanups, which means that running the tests is noisy.
* Don't raise StopIteration from generator, return insteadMiro Hron?ok2018-06-081-0/+756
See https://www.python.org/dev/peps/pep-0479/