Use sequence repetition instead of bytes constructor with integer argument.

This commit is contained in:
Serhiy Storchaka 2016-09-11 14:41:02 +03:00
parent ab8740058a
commit 5f1a5187f7
12 changed files with 20 additions and 20 deletions

View file

@ -258,7 +258,7 @@ class IntegrationTests(TestCase):
def app(environ, start_response):
start_response("200 OK", [])
return [bytes(support.SOCK_MAX_SIZE)]
return [b'\0' * support.SOCK_MAX_SIZE]
class WsgiHandler(NoLogRequestHandler, WSGIRequestHandler):
pass