#18584: s/testcleanup/testsetup/ until we switch to Sphinx 1.1.

testcleanup directive is new as of 1.1, and we are currently running
1.0.7.  But using testsetup works just as well, and avoids the
unknown directive error when building the docs.
This commit is contained in:
R David Murray 2013-07-30 14:42:40 -04:00
parent 3ab7b0aabb
commit 11bfd32881
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ The following function has been added as a useful debugging tool. It should
text/plain
text/plain
.. testcleanup::
.. testsetup::
>>> somefile.close()

View file

@ -85,7 +85,7 @@ file on disk and pass it to the system ``sendmail`` program on a Unix system:
>>> p.stdin.close()
>>> rc = p.wait()
.. testcleanup::
.. testsetup::
>>> mymsg.close()
>>> mocker.stop()