Fixes capfd so data is available after teardown.

This commit is contained in:
Tyler Richard 2017-12-20 10:28:50 -08:00 committed by Bruno Oliveira
parent 28aff051ab
commit 273670b2a2
1 changed files with 0 additions and 1 deletions

View File

@ -188,7 +188,6 @@ class CaptureManager(object):
def pytest_runtest_teardown(self, item): def pytest_runtest_teardown(self, item):
self._current_item = item self._current_item = item
self.resume_global_capture() self.resume_global_capture()
self.activate_fixture(item)
yield yield
self.suspend_capture_item(item, "teardown") self.suspend_capture_item(item, "teardown")
self._current_item = None self._current_item = None