◐ Shell
clean mode source ↗

[WIP] bpo-40275: Add loggingutils in test.support by shihai1991 · Pull Request #19599 · python/cpython

Conversation

@shihai1991 shihai1991 changed the title bpo-40275: Add loggingutils in test.support [WIP] bpo-40275: Add loggingutils in test.support

Apr 19, 2020

@tirkarthi

@serhiy-storchaka

TestHandler is only used in test_logging. There is no reason to not define it there.

Also, removing import logging from test.support does not help while logging is imported in unittest. #19601 does all necessary to optimize import.

@shihai1991

TestHandler is only used in test_logging. There is no reason to not define it there.

Oh, thanks. I just left a same question in PR19601.

Labels