Steve Piercy
2016-07-04 0972c148a804b00e107f4578ebd12c5723bb225c
refs
author Steve Piercy <web@stevepiercy.com>
Monday, July 4, 2016 02:10 +0200
committer Steve Piercy <web@stevepiercy.com>
Monday, July 4, 2016 02:24 +0200
commit0972c148a804b00e107f4578ebd12c5723bb225c
tree c7e4f97674386a07700b1c5b3ffc001815ea986f tree | zip | gz
parent 516fb84baadecd0f9b2974c3c09725ad14827f71 view | diff
Show testsetup code in rendered docs.

For `testsetup`, Sphinx does not show code in the output: http://www.sphinx-doc.org/en/stable/ext/doctest.html#directive-testsetup This commit fixes that issue, although duplicates code. I'll submit a feature request to https://github.com/sphinx-doc/sphinx/ Fixes #2670
(cherry picked from commit 2612de2)
1 files modified
10 ■■■■■ changed files
pyramid/decorator.py 10 ●●●●● diff | view | raw | blame | history