From b66019202ec389d5430434ace3068a8eb405402a Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Thu, 15 Mar 2018 21:33:58 -0400 Subject: [PATCH] Fix test failure on Python 2. Ref #3314. --- _pytest/capture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pytest/capture.py b/_pytest/capture.py index 6545e6fa305..9f4f41c4165 100644 --- a/_pytest/capture.py +++ b/_pytest/capture.py @@ -560,7 +560,7 @@ def snap(self): 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,