diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-04 19:25:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 19:25:17 (GMT) |
commit | 210cd98f75f14cc19c1517cd6d556f7f9cfa4697 (patch) | |
tree | 6fead9e7214db130f866c69abf20ab04af912902 /Python/pythonmain.c | |
parent | c8c23aa86e762a005abace465ceb80e4110659c2 (diff) | |
download | cpython-210cd98f75f14cc19c1517cd6d556f7f9cfa4697.zip cpython-210cd98f75f14cc19c1517cd6d556f7f9cfa4697.tar.gz cpython-210cd98f75f14cc19c1517cd6d556f7f9cfa4697.tar.bz2 |
[3.12] gh-120048: Make `test_imaplib` faster (GH-120050) (#120070)
The `test_imaplib` was taking 40+ minutes in the refleak build bots because
the tests waiting on a client `self._setup()` was creating a client that
prevented progress until its connection timed out, which scaled with the
global timeout.
We should set `connect=False` for the tests that don't want `_setup()` to
create a client.
(cherry picked from commit 710cbea6604d27c7d59ae4953bf522b997a82cc7)
Co-authored-by: Sam Gross <colesbury@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/pythonmain.c')
0 files changed, 0 insertions, 0 deletions