[WIP] bpo-40275: Add loggingutils in test.support by shihai1991 · Pull Request #19599 · python/cpython
Conversation
shihai1991
changed the title
bpo-40275: Add loggingutils in test.support
[WIP] bpo-40275: Add loggingutils in test.support
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters