Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 11bfd32

Browse files
committed
#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.
1 parent 3ab7b0a commit 11bfd32

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/email.iterators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The following function has been added as a useful debugging tool. It should
6868
text/plain
6969
text/plain
7070

71-
.. testcleanup::
71+
.. testsetup::
7272

7373
>>> somefile.close()
7474

Doc/library/email.policy.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ file on disk and pass it to the system ``sendmail`` program on a Unix system:
8585
>>> p.stdin.close()
8686
>>> rc = p.wait()
8787

88-
.. testcleanup::
88+
.. testsetup::
8989

9090
>>> mymsg.close()
9191
>>> mocker.stop()

0 commit comments

Comments
 (0)