mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Add some doctest cleanups for turtle and configparser (#125288)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
parent
dd0ee201da
commit
a726ce73ca
2 changed files with 6 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ can be customized by end users easily.
|
|||
|
||||
import os
|
||||
os.remove("example.ini")
|
||||
os.remove("override.ini")
|
||||
|
||||
|
||||
Quick Start
|
||||
|
|
|
|||
|
|
@ -14,6 +14,11 @@
|
|||
from turtle import *
|
||||
turtle = Turtle()
|
||||
|
||||
.. testcleanup::
|
||||
|
||||
import os
|
||||
os.remove("my_drawing.ps")
|
||||
|
||||
--------------
|
||||
|
||||
Introduction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue