Edit: test_log_capture.py