The following code is challenging my sanity, in my understanding of the documentation this should pass, given that getLogger is supposed to return the root logger and the root logger should be called 'root'.
https://docs.python.org/2/library/logging.html#logger-objects What am I missing? from unittest import TestCase import logging class LoggingSanityTest(TestCase): def test_root_logging_sanity(self): assert logging.getLogger() == logging.getLogger('root') -- https://mail.python.org/mailman/listinfo/python-list