Skip to content

Commit 84b3a39

Browse files
committed
Merge branch 'aditya/fix-method_whitelist-urllib-warning' into master
PR aws#1939 * aditya/fix-method_whitelist-urllib-warning: Fixes method_whitelist deprecation warning in the next version from urllib3 library
2 parents f0ab7e6 + 8d02495 commit 84b3a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/test_local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def http_session():
107107
connect=10,
108108
# A backoff factor to apply between attempts after the second try.
109109
backoff_factor=2,
110-
method_whitelist=['GET', 'POST', 'PUT'],
110+
allowed_methods=['GET', 'POST', 'PUT'],
111111
)
112112
session.mount('http://', HTTPAdapter(max_retries=retry))
113113
return HTTPFetcher(session)

0 commit comments

Comments
 (0)