• Tim Peters's avatar
    test_main(): Restore the original root logger level after running · 0cdc3d88
    Tim Peters yazdı
    the tests.  This stops the confusing/annoying:
    
        No handlers could be found for logger "cookielib"
    
    message we got whenever some test running after test_logging
    happened to use cookielib.py (when not using regrtest's -r,
    this happened during test_urllib2; when using -r, it varied).
    0cdc3d88
test_logging.py 16.4 KB