diff options
Diffstat (limited to 'dev-python/dugong/files/3.2-timeout.patch')
-rw-r--r-- | dev-python/dugong/files/3.2-timeout.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/dev-python/dugong/files/3.2-timeout.patch b/dev-python/dugong/files/3.2-timeout.patch deleted file mode 100644 index 5ee43f7367c7..000000000000 --- a/dev-python/dugong/files/3.2-timeout.patch +++ /dev/null @@ -1,19 +0,0 @@ -https://bitbucket.org/nikratio/python-dugong/issue/14/test_send_timeout-ssl-failure-in-latest -diff --git a/test/test_dugong.py b/test/test_dugong.py ---- a/test/test_dugong.py -+++ b/test/test_dugong.py -@@ -726,11 +728,11 @@ - - # We don't know how much data can be buffered, so we - # claim to send a lot and do so in a loop. -- len_ = 1024**3 -+ len_ = 10 * 1024**3 - conn.send_request('PUT', '/recv_something', body=BodyFollowing(len_)) - with pytest.raises(dugong.ConnectionTimedOut): - while len_ > 0: -- conn.write(b'x' * min(len_, 16*1024)) -+ conn.write(b'x' * min(len_, 640*1024)) - - - DUMMY_DATA = ','.join(str(x) for x in range(10000)).encode() - |