mirror of https://github.com/python/cpython
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
|
@ -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…
Reference in New Issue