diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2024-10-10 23:53:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-10 23:53:45 (GMT) |
commit | a726ce73ca69b3a5ccc2cbe23061070e686b1150 (patch) | |
tree | 53b05160bcc28f9e7ded7868c5be690942f3de6d /Doc/library | |
parent | dd0ee201da34d1d4a631d77b420728f9233f53f9 (diff) | |
download | cpython-a726ce73ca69b3a5ccc2cbe23061070e686b1150.zip cpython-a726ce73ca69b3a5ccc2cbe23061070e686b1150.tar.gz cpython-a726ce73ca69b3a5ccc2cbe23061070e686b1150.tar.bz2 |
Add some doctest cleanups for `turtle` and `configparser` (#125288)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/configparser.rst | 1 | ||||
-rw-r--r-- | Doc/library/turtle.rst | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst index b5c18bb..3aad6f7 100644 --- a/Doc/library/configparser.rst +++ b/Doc/library/configparser.rst @@ -54,6 +54,7 @@ can be customized by end users easily. import os os.remove("example.ini") + os.remove("override.ini") Quick Start diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index da801d4..efa4b6f 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -14,6 +14,11 @@ from turtle import * turtle = Turtle() +.. testcleanup:: + + import os + os.remove("my_drawing.ps") + -------------- Introduction |