Agent: Fix mypy issues in capture_output.py

This commit is contained in:
Kekoa Kaaikala 2022-09-21 17:55:41 +00:00
parent ccfc41fc2f
commit 70c74b87a9
1 changed files with 0 additions and 1 deletions

View File

@ -7,7 +7,6 @@ class StdoutCapture:
self._orig_stdout = sys.stdout self._orig_stdout = sys.stdout
self._new_stdout = io.StringIO() self._new_stdout = io.StringIO()
sys.stdout = self._new_stdout sys.stdout = self._new_stdout
return self
def get_captured_stdout_output(self) -> str: def get_captured_stdout_output(self) -> str:
self._new_stdout.seek(0) self._new_stdout.seek(0)