File tree 1 file changed +4
-3
lines changed
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):
50
50
pytest .importorskip ("s3fs" )
51
51
pytest .importorskip ("boto3" )
52
52
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
55
54
56
55
with tm .ensure_safe_environment_variables ():
57
56
# temporary workaround as moto fails for botocore >= 1.11 otherwise,
@@ -71,7 +70,9 @@ def s3_base(worker_id):
71
70
72
71
# pipe to null to avoid logging in terminal
73
72
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 ,
75
76
)
76
77
77
78
timeout = 5
You can’t perform that action at this time.
0 commit comments