]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #3809: Fixed spurious 'test.blah' file left behind by test_logging.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 9 Sep 2008 13:42:08 +0000 (13:42 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 9 Sep 2008 13:42:08 +0000 (13:42 +0000)
Lib/test/test_logging.py
Misc/NEWS

index 5d2b5fd3fd99bb28456ce1e0b3b3136af667fc92..e837d41037c2ebc5697b88e3ea345ccc8cb98ffc 100644 (file)
@@ -615,10 +615,10 @@ class ConfigFileTest(BaseTest):
     args=(sys.stdout,)
 
     [handler_hand2]
-    class=FileHandler
+    class=StreamHandler
     level=NOTSET
     formatter=form1
-    args=('test.blah', 'a')
+    args=(sys.stderr,)
 
     [formatter_form1]
     format=%(levelname)s ++ %(message)s
index 662452177177a522b1a540a16f56fe3fb87dd49a..1fca7958fbfa9486e177aff3501743b08add3d56 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -65,6 +65,8 @@ C-API
 Library
 -------
 
+- Issue #3809: Fixed spurious 'test.blah' file left behind by test_logging.
+
 - Issue 3781: Clean up the API for warnings.catch_warnings() by having it
   return a list or None rather than a custom object.
 
@@ -138,7 +140,7 @@ Build
 
 - Allow passing the MSI file name to merge.py.
 
-- Issue #3758: Rename the 'check' target to 'patchcheck' so as to not clash 
+- Issue #3758: Rename the 'check' target to 'patchcheck' so as to not clash
   with GNU build target guidelines.