Skip to content

Commit d33b943

Browse files
zwareljfp
authored andcommitted
Destroy the turtle window after its doctests finish (pythonGH-125294)
1 parent 4de7153 commit d33b943

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/library/turtle.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616

1717
import os
1818
os.remove("my_drawing.ps")
19+
# Destroy the turtle window after tests are complete
20+
# Imported via star import in testsetup
21+
bye()
1922

2023
--------------
2124

0 commit comments

Comments
 (0)