From f1446d39221b8fc0eb8224d91a020d5c8bc1cd70 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Sat, 28 Feb 2026 15:12:05 -0600 Subject: [PATCH] Destroy the turtle window after its doctests finish (GH-125294) --- Doc/library/turtle.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index 234042c661f5..20c659756fe1 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -16,6 +16,9 @@ import os os.remove("my_drawing.ps") + # Destroy the turtle window after tests are complete + # Imported via star import in testsetup + bye() -------------- -- 2.47.3