https://github.com/python/cpython/commit/a726ce73ca69b3a5ccc2cbe23061070e686b1150 commit: a726ce73ca69b3a5ccc2cbe23061070e686b1150 branch: main author: Alex Waygood <[email protected]> committer: AlexWaygood <[email protected]> date: 2024-10-10T23:53:45Z summary:
Add some doctest cleanups for `turtle` and `configparser` (#125288) Co-authored-by: Adam Turner <[email protected]> files: M Doc/library/configparser.rst M Doc/library/turtle.rst diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst index b5c18bbccffb78..3aad6f7b5d2d20 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 da801d4dc1f5b3..efa4b6f8f1d3f9 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 _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
