Holdover for flaky test.

pull/2017/head
Kieran Prasch 2020-05-22 17:41:20 -07:00 committed by Kieran R. Prasch
parent 744fd79832
commit 6c9c1b7cd8
1 changed files with 3 additions and 1 deletions

View File

@ -976,7 +976,9 @@ def highperf_mocked_bob(fleet_of_highperf_mocked_ursulas):
def stdout_trap(mocker):
trap = StringIO()
mocker.patch('sys.stdout', new=trap)
return trap
trap.truncate(0)
yield trap
trap.truncate(0)
@pytest.fixture(scope='function')