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
|
||||
def caplog(caplog):
|
||||
import py.io
|
||||
|
||||
caplog.set_level(logging.INFO)
|
||||
caplog.handler.stream = py.io.TextIO()
|
||||
caplog.handler.records = []
|
||||
return caplog
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue