Skip to content

Commit

Permalink
Add some doctest cleanups for turtle and configparser (python#125288
Browse files Browse the repository at this point in the history
)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
  • Loading branch information
AlexWaygood and AA-Turner authored Oct 10, 2024
1 parent dd0ee20 commit a726ce7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Doc/library/configparser.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ can be customized by end users easily.

import os
os.remove("example.ini")
os.remove("override.ini")


Quick Start
Expand Down
5 changes: 5 additions & 0 deletions Doc/library/turtle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
from turtle import *
turtle = Turtle()

.. testcleanup::

import os
os.remove("my_drawing.ps")

--------------

Introduction
Expand Down

0 comments on commit a726ce7

Please sign in to comment.