diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-04-20 11:50:42 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-04-20 11:50:42 (GMT) |
commit | 5b9eecf8cfa58fb33870537ca742fc752036c22e (patch) | |
tree | a89a787c04758b5298ae5d39b4c28c573f8a5fab /Lib/test/test_logging.py | |
parent | 1e42f9e4c007d73d85561aeb1104935a64b3a54a (diff) | |
download | cpython-5b9eecf8cfa58fb33870537ca742fc752036c22e.zip cpython-5b9eecf8cfa58fb33870537ca742fc752036c22e.tar.gz cpython-5b9eecf8cfa58fb33870537ca742fc752036c22e.tar.bz2 |
Attempt fix of #11557 by refining test logic.
Diffstat (limited to 'Lib/test/test_logging.py')
-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 33bd845..45546cb 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') |