get_effective_level is a snake_case alias that delegates to the wrapped logger's getEffectiveLevel, for compatibility with FilteringBoundLogger.
(self)
| 316 | assert bl.is_enabled_for(DEBUG) is False |
| 317 | |
| 318 | def test_get_effective_level(self): |
| 319 | """ |
| 320 | get_effective_level is a snake_case alias that delegates to the wrapped |
| 321 | logger's getEffectiveLevel, for compatibility with |
| 322 | FilteringBoundLogger. |
| 323 | """ |
| 324 | stdlib_logger = logging.getLogger("test_get_effective_level") |
| 325 | stdlib_logger.setLevel(WARN) |
| 326 | bl = BoundLogger(stdlib_logger, [], {}) |
| 327 | |
| 328 | assert WARN == bl.get_effective_level() |
| 329 | |
| 330 | def test_exception_exc_info(self): |
| 331 | """ |
nothing calls this directly
no test coverage detected