bpo-45160: Fix refleak in test_ttk_guionly introduced in GH-28291 (GH-29416) (GH-29421)

(cherry picked from commit 54d1e3f72ed1ad8e860888c30ee7a285b931c0d1)

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
1 file changed