Commit d1f86cac authored by Antoine Pitrou's avatar Antoine Pitrou

Avoid test_logging failure when run after test_unittest, by renaming a conflicting logger

parent b85727fb
......@@ -1345,7 +1345,7 @@ class ConfigFileTest(BaseTest):
def test_logger_disabling(self):
self.apply_config(self.disable_test)
logger = logging.getLogger('foo')
logger = logging.getLogger('some_pristine_logger')
self.assertFalse(logger.disabled)
self.apply_config(self.disable_test)
self.assertTrue(logger.disabled)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment