Due to doctest weirdness, we must not reuse BytesLoggers.
(self)
| 401 | |
| 402 | class TestBytesLoggerFactory: |
| 403 | def test_does_not_cache(self): |
| 404 | """ |
| 405 | Due to doctest weirdness, we must not reuse BytesLoggers. |
| 406 | """ |
| 407 | f = BytesLoggerFactory() |
| 408 | |
| 409 | assert f() is not f() |
| 410 | |
| 411 | def test_passes_file(self): |
| 412 | """ |
nothing calls this directly
no test coverage detected