Show More
@@ -331,6 +331,9 b' class CapturedIO(object):' | |||||
331 | self._stdout = stdout |
|
331 | self._stdout = stdout | |
332 | self._stderr = stderr |
|
332 | self._stderr = stderr | |
333 |
|
333 | |||
|
334 | def __str__(self): | |||
|
335 | return self.stdout | |||
|
336 | ||||
334 | @property |
|
337 | @property | |
335 | def stdout(self): |
|
338 | def stdout(self): | |
336 | if not self._stdout: |
|
339 | if not self._stdout: |
General Comments 0
You need to be logged in to leave comments.
Login now