From: Vinay Sajip Date: Tue, 9 Sep 2008 13:42:08 +0000 (+0000) Subject: Issue #3809: Fixed spurious 'test.blah' file left behind by test_logging. X-Git-Tag: v2.6rc1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=844f741039ada0cc0658beae40c2769c9c2cb5d5;p=thirdparty%2FPython%2Fcpython.git Issue #3809: Fixed spurious 'test.blah' file left behind by test_logging. --- diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 5d2b5fd3fd99..e837d41037c2 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 662452177177..1fca7958fbfa 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.