Skip to content

Commit

Permalink
Fix test failure on Python 2. Ref #3314.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 16, 2018
1 parent 965a030 commit b660192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _pytest/capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b660192

Please sign in to comment.