tests: remove useless import of py.io (#70797)
This commit is contained in:
parent
531d1948f0
commit
45c987584c
|
@ -65,11 +65,7 @@ def private_settings(request, tmpdir):
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def caplog(caplog):
|
def caplog(caplog):
|
||||||
import py.io
|
|
||||||
|
|
||||||
caplog.set_level(logging.INFO)
|
caplog.set_level(logging.INFO)
|
||||||
caplog.handler.stream = py.io.TextIO()
|
|
||||||
caplog.handler.records = []
|
|
||||||
return caplog
|
return caplog
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue