tests: remove useless import of py.io (#70797)

This commit is contained in:
Benjamin Dauvergne 2022-10-27 20:24:15 +02:00
parent 531d1948f0
commit 45c987584c
1 changed files with 0 additions and 4 deletions

View File

@ -65,11 +65,7 @@ def private_settings(request, tmpdir):
@pytest.fixture
def caplog(caplog):
import py.io
caplog.set_level(logging.INFO)
caplog.handler.stream = py.io.TextIO()
caplog.handler.records = []
return caplog