diff options
| author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-04-20 12:50:42 +0100 |
|---|---|---|
| committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-04-20 12:50:42 +0100 |
| commit | 5b9eecf8cfa58fb33870537ca742fc752036c22e (patch) | |
| tree | a89a787c04758b5298ae5d39b4c28c573f8a5fab | |
| parent | 1e42f9e4c007d73d85561aeb1104935a64b3a54a (diff) | |
| download | cpython-git-5b9eecf8cfa58fb33870537ca742fc752036c22e.tar.gz | |
Attempt fix of #11557 by refining test logic.
| -rw-r--r-- | Lib/test/test_logging.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 33bd845f07..45546cb5fc 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -2453,7 +2453,7 @@ class BasicConfigTest(unittest.TestCase): self.assertIsInstance(formatter._style, logging.PercentStyle) # level is not explicitely set - self.assertEqual(logging.root.level, logging.WARNING) + self.assertEqual(logging.root.level, self.original_logging_level) def test_filename(self): logging.basicConfig(filename='test.log') |
