Issue #18081: Workaround "./python -m test_idle test_logging" failure
"import idlelib" should not install hooks on the warning modules, hooks should only be installed when IDLE is started.
V
Victor Stinner committed
b28a375f2f4724c129e8683f548c8f1477e00a68
Parent: 7660b88