diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-03-15 21:33:58 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-03-15 21:33:58 -0400 |
commit | b66019202ec389d5430434ace3068a8eb405402a (patch) | |
tree | c09c5ee01d8a6743ed4437332dc4a94ec5f99143 /_pytest | |
parent | 965a030564be02f5926c1a579ff59dabf5702e37 (diff) | |
download | pytest-b66019202ec389d5430434ace3068a8eb405402a.tar.gz |
Fix test failure on Python 2. Ref #3314.
Diffstat (limited to '_pytest')
-rw-r--r-- | _pytest/capture.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/capture.py b/_pytest/capture.py index 6545e6fa3..9f4f41c41 100644 --- a/_pytest/capture.py +++ b/_pytest/capture.py @@ -560,7 +560,7 @@ class SysCaptureBinary(SysCapture): return res -class DontReadFromInput(object): +class DontReadFromInput(six.Iterator): """Temporary stub class. Ideally when stdin is accessed, the capturing should be turned off, with possibly all data captured so far sent to the screen. This should be configurable, though, |