From e751ebe66a17fc21a937ff413b9c9bc0555ca8bd Mon Sep 17 00:00:00 2001 From: spcharc Date: Mon, 19 Mar 2018 20:31:46 +0800 Subject: [PATCH] fix an error in test --- tests/test_web_sendfile_functional.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_web_sendfile_functional.py b/tests/test_web_sendfile_functional.py index d77fe9b1e90..51c6a9de940 100644 --- a/tests/test_web_sendfile_functional.py +++ b/tests/test_web_sendfile_functional.py @@ -432,7 +432,7 @@ async def handler(request): body = await response.read() assert len(body) == 108, \ - "failed 'bytes=61000-62000', received %d bytes" % len(body[0]) + "failed 'bytes=61000-62000', received %d bytes" % len(body) assert content[61000:] == body