summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-07-30 18:42:40 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-07-30 18:42:40 (GMT)
commit11bfd32881e9d57072d3ffee253f5c34535d5042 (patch)
tree07f8970ceccf2048d94343f1e2209d34903cbca4 /Doc
parent3ab7b0aabbea477a5c4a9738f41a0ad4f0c606f5 (diff)
downloadcpython-11bfd32881e9d57072d3ffee253f5c34535d5042.zip
cpython-11bfd32881e9d57072d3ffee253f5c34535d5042.tar.gz
cpython-11bfd32881e9d57072d3ffee253f5c34535d5042.tar.bz2
#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.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/email.iterators.rst2
-rw-r--r--Doc/library/email.policy.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/email.iterators.rst b/Doc/library/email.iterators.rst
index 6c7200f..7882718 100644
--- a/Doc/library/email.iterators.rst
+++ b/Doc/library/email.iterators.rst
@@ -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()
diff --git a/Doc/library/email.policy.rst b/Doc/library/email.policy.rst
index d85054a..54ebb1c 100644
--- a/Doc/library/email.policy.rst
+++ b/Doc/library/email.policy.rst
@@ -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()