Skip to content

Commit f1446d3

Browse files
authored
Destroy the turtle window after its doctests finish (GH-125294)
1 parent ef41f73 commit f1446d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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)