summaryrefslogtreecommitdiffstats
path: root/Doc/library/email.policy.rst
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/library/email.policy.rst
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/library/email.policy.rst')
-rw-r--r--Doc/library/email.policy.rst2
1 files changed, 1 insertions, 1 deletions
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()