summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_logging.py4
-rw-r--r--Misc/NEWS4
2 files changed, 5 insertions, 3 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index 5d2b5fd..e837d41 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -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
diff --git a/Misc/NEWS b/Misc/NEWS
index 6624521..1fca795 100644
--- 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.