summaryrefslogtreecommitdiff
path: root/test/with_dummyserver/test_connectionpool.py
diff options
context:
space:
mode:
authorQuentin Pradet <quentin.pradet@gmail.com>2022-12-06 21:59:18 +0400
committerGitHub <noreply@github.com>2022-12-06 11:59:18 -0600
commitb09fe5629dd3c3e3253b54d384878b2fee00f64a (patch)
tree0eaaca0ad5895413d340a0e091c5d5ccbb665c92 /test/with_dummyserver/test_connectionpool.py
parent0612a53f48f72ab6e9ef58ccf1d6a25b847152fc (diff)
downloadurllib3-b09fe5629dd3c3e3253b54d384878b2fee00f64a.tar.gz
Don't ignore debug logs in pytest, fix log args issue
Diffstat (limited to 'test/with_dummyserver/test_connectionpool.py')
-rw-r--r--test/with_dummyserver/test_connectionpool.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/with_dummyserver/test_connectionpool.py b/test/with_dummyserver/test_connectionpool.py
index 6aea007a..aea46c89 100644
--- a/test/with_dummyserver/test_connectionpool.py
+++ b/test/with_dummyserver/test_connectionpool.py
@@ -1,9 +1,7 @@
from __future__ import annotations
import io
-import logging
import socket
-import sys
import time
import typing
import warnings
@@ -39,10 +37,6 @@ from ..port_helpers import find_unused_port
pytestmark = pytest.mark.flaky
-log = logging.getLogger("urllib3.connectionpool")
-log.setLevel(logging.NOTSET)
-log.addHandler(logging.StreamHandler(sys.stdout))
-
def wait_for_socket(ready_event: Event) -> None:
ready_event.wait()