Skip to content

Commit f6b1e6b

Browse files
committed
Make tests compatible with urllib3 >= 1.26.14
urllib3 now calls sock.settimeout: https://github.com/urllib3/urllib3/pull/2869/files#diff-542c95910a277028550d2c8943e8c49bbcb10f9af96e35d0a0eee99b8cfe9e8cR235 which was not a property on our FakeSocket object used for testing.
1 parent efe0044 commit f6b1e6b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/unit/botocore/test_awsrequest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ def makefile(self, mode, bufsize=None):
5353
def close(self):
5454
pass
5555

56+
def settimeout(self, *args):
57+
pass
58+
5659

5760
class BytesIOWithLen(six.BytesIO):
5861
def __len__(self):

0 commit comments

Comments
 (0)