File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,7 @@ def s3_base(worker_id):
5050 pytest .importorskip ("s3fs" )
5151 pytest .importorskip ("boto3" )
5252 requests = pytest .importorskip ("requests" )
53- # GH 38090: Suppress http logs in tests by moto_server
54- logging .getLogger ("werkzeug" ).disabled = True
53+ logging .getLogger ("requests" ).disabled = True
5554
5655 with tm .ensure_safe_environment_variables ():
5756 # temporary workaround as moto fails for botocore >= 1.11 otherwise,
@@ -71,7 +70,9 @@ def s3_base(worker_id):
7170
7271 # pipe to null to avoid logging in terminal
7372 proc = subprocess .Popen (
74- shlex .split (f"moto_server s3 -p { endpoint_port } " ), stdout = subprocess .DEVNULL
73+ shlex .split (f"moto_server s3 -p { endpoint_port } " ),
74+ stdout = subprocess .DEVNULL ,
75+ stderr = subprocess .DEVNULL ,
7576 )
7677
7778 timeout = 5
You can’t perform that action at this time.
0 commit comments