Edit File: test_logcapture.py