[3.12] gh-120048: Make test_imaplib faster (GH-120050)
#120070
Merged
test_imaplib faster (GH-120050)
#120070