Different trick to get the _test() window to pop up.
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
index 13eb1f6..a508d26 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -1875,7 +1875,11 @@
root.test = test
quit = Button(root, text="QUIT", command=root.destroy)
quit.pack()
- root.tkraise()
+ # The following three commands are needed so the window pops
+ # up on top on Windows...
+ root.iconify()
+ root.update()
+ root.deiconify()
root.mainloop()
if __name__ == '__main__':