test_main(): Restore the original root logger level after running
commit8b04b23e6c06195d1cd152b54b16ef1b97bfbeea
authortim.peters <tim.peters@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 30 Dec 2005 20:46:23 +0000 (30 20:46 +0000)
committertim.peters <tim.peters@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 30 Dec 2005 20:46:23 +0000 (30 20:46 +0000)
tree582478b91530a2ca80ae2e99c8675300f11f4e0d
parent8feae3efa873c9ac9297172acb1e40ae1f38f2a1
test_main():  Restore the original root logger level after running
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).

git-svn-id: http://svn.python.org/projects/python/trunk@41859 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/test/test_logging.py