Clearing context does not change the type of the bound logger.
(self)
| 89 | assert isinstance(b.bind(), Wrapper) |
| 90 | |
| 91 | def test_new_keeps_class(self): |
| 92 | """ |
| 93 | Clearing context does not change the type of the bound logger. |
| 94 | """ |
| 95 | |
| 96 | class Wrapper(BoundLoggerBase): |
| 97 | pass |
| 98 | |
| 99 | b = Wrapper(None, [], {}) |
| 100 | |
| 101 | assert isinstance(b.new(), Wrapper) |
| 102 | |
| 103 | def test_unbind(self): |
| 104 | """ |