From f90be49fab5da0b2ccc13c6bcfe8a593f814b9a9 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Thu, 10 Oct 2024 22:31:59 -0500 Subject: [PATCH] Destroy the turtle window after its doctests finish --- Doc/library/turtle.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index efa4b6f8f1d3f9..7efcbbf06ee0fd 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -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() --------------