[Python-checkins] bpo-45059: Add module cleanup to IDLE test_macosx (GH-28102)