Skip to content

Commit

Permalink
Destroy the turtle window after its doctests finish
Browse files Browse the repository at this point in the history
  • Loading branch information
zware committed Oct 11, 2024
1 parent a726ce7 commit f90be49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Doc/library/turtle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@

import os
os.remove("my_drawing.ps")
# Destroy the turtle window after tests are complete
# Imported via star import in testsetup
bye()

--------------

Expand Down

0 comments on commit f90be49

Please sign in to comment.