summaryrefslogtreecommitdiff
path: root/_pytest
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-03-15 21:33:58 -0400
committerJason R. Coombs <jaraco@jaraco.com>2018-03-15 21:33:58 -0400
commitb66019202ec389d5430434ace3068a8eb405402a (patch)
treec09c5ee01d8a6743ed4437332dc4a94ec5f99143 /_pytest
parent965a030564be02f5926c1a579ff59dabf5702e37 (diff)
downloadpytest-b66019202ec389d5430434ace3068a8eb405402a.tar.gz
Fix test failure on Python 2. Ref #3314.
Diffstat (limited to '_pytest')
-rw-r--r--_pytest/capture.py2
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,