Skip to content

Commit 92baaf6

Browse files
committed
Replace requests with urllib3 in integration tests.
1 parent 5182136 commit 92baaf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/handle.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import requests
1+
import urllib3
22

33
from datadog_lambda.metric import lambda_metric
44
from datadog_lambda.wrapper import datadog_lambda_wrapper
@@ -26,7 +26,7 @@ def handle(event, context):
2626
)
2727

2828
# Make HTTP calls to test ddtrace instrumentation
29-
requests.get("https://datadoghq.com")
29+
urllib3.PoolManager().request("GET", "https://datadoghq.com")
3030

3131
return {
3232
"statusCode": 200,

0 commit comments

Comments
 (0)