Creating a logger adds a lock to WRITE_LOCKS.
(self, sio)
| 275 | assert repr(BytesLogger()).startswith("<BytesLogger(file=") |
| 276 | |
| 277 | def test_lock(self, sio): |
| 278 | """ |
| 279 | Creating a logger adds a lock to WRITE_LOCKS. |
| 280 | """ |
| 281 | assert sio not in WRITE_LOCKS |
| 282 | |
| 283 | BytesLogger(sio) |
| 284 | |
| 285 | assert sio in WRITE_LOCKS |
| 286 | |
| 287 | @pytest.mark.parametrize("method", stdlib_log_methods) |
| 288 | def test_stdlib_methods_support(self, method): |
nothing calls this directly
no test coverage detected