mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Attempt fix of #11557 by refining test logic.
This commit is contained in:
parent
1e42f9e4c0
commit
5b9eecf8cf
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue