24 lines
795 B
Diff
24 lines
795 B
Diff
From e2b9b3779ad48be0e261f617b301db77a8257343 Mon Sep 17 00:00:00 2001
|
|
From: Seth Michael Larson <sethmichaellarson@gmail.com>
|
|
Date: Thu, 10 Nov 2022 16:38:25 -0600
|
|
Subject: [PATCH] Add a settimeout() method to FakeSocket (#2810)
|
|
Reference: https://github.com/boto/botocore/commit/e2b9b3779ad48be0e261f617b301db77a8257343
|
|
---
|
|
tests/unit/test_awsrequest.py | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/tests/unit/test_awsrequest.py b/tests/unit/test_awsrequest.py
|
|
index 22bd9a746d..5370f5f80e 100644
|
|
--- a/tests/unit/test_awsrequest.py
|
|
+++ b/tests/unit/test_awsrequest.py
|
|
@@ -58,6 +58,9 @@ def makefile(self, mode, bufsize=None):
|
|
def close(self):
|
|
pass
|
|
|
|
+ def settimeout(self, value):
|
|
+ pass
|
|
+
|
|
|
|
class BytesIOWithLen(six.BytesIO):
|
|
def __len__(self):
|
|
|