locale-restoration code:  Don't leave comparison to None implicit.  For
all I know, the original locale may be '' (I don't think that's possible,
but ...), and if so we would certainly want to restore it.
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index a677edd..ef77e5e 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -483,7 +483,7 @@
     try:
         test_main_inner()
     finally:
-        if original_locale:
+        if original_locale is not None:
             locale.setlocale(locale.LC_ALL, original_locale)
 
 if __name__ == "__main__":