Skip to content

Commit

Permalink
Fix pytest integration for pytest 3.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Aug 26, 2018
1 parent 5fcba52 commit 6c7ea27
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tox/_pytestplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ def __init__(self, capfd, args):

def __enter__(self):
self._start = time.time()
# noinspection PyProtectedMember
self._capfd._start()
self._capfd.readouterr()
return self

def __exit__(self, exc_type, exc_val, exc_tb):
Expand Down

0 comments on commit 6c7ea27

Please sign in to comment.