summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_logging.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2011-04-20 11:50:42 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2011-04-20 11:50:42 (GMT)
commit5b9eecf8cfa58fb33870537ca742fc752036c22e (patch)
treea89a787c04758b5298ae5d39b4c28c573f8a5fab /Lib/test/test_logging.py
parent1e42f9e4c007d73d85561aeb1104935a64b3a54a (diff)
downloadcpython-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.py2
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')