Skip to content

Commit f90be49

Browse files
committed
Destroy the turtle window after its doctests finish
1 parent a726ce7 commit f90be49

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
@@ -18,6 +18,9 @@
1818

1919
import os
2020
os.remove("my_drawing.ps")
21+
# Destroy the turtle window after tests are complete
22+
# Imported via star import in testsetup
23+
bye()
2124

2225
--------------
2326

0 commit comments

Comments
 (0)