summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_sendfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/test_sendfile.py')
-rw-r--r--Lib/test/test_asyncio/test_sendfile.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_sendfile.py b/Lib/test/test_asyncio/test_sendfile.py
index f148fe2..3b7f784 100644
--- a/Lib/test/test_asyncio/test_sendfile.py
+++ b/Lib/test/test_asyncio/test_sendfile.py
@@ -86,7 +86,8 @@ class MyProto(asyncio.Protocol):
class SendfileBase:
- DATA = b"SendfileBaseData" * (1024 * 8) # 128 KiB
+ # 128 KiB plus small unaligned to buffer chunk
+ DATA = b"SendfileBaseData" * (1024 * 8 + 1)
# Reduce socket buffer size to test on relative small data sets.
BUF_SIZE = 4 * 1024 # 4 KiB