From 45c987584c97e7addbbb88559d215f3f72996d75 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 27 Oct 2022 20:24:15 +0200 Subject: [PATCH] tests: remove useless import of py.io (#70797) --- tests/conftest.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index b8df92e..4c5b267 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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