mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Use sequence repetition instead of bytes constructor with integer argument.
This commit is contained in:
parent
ab8740058a
commit
5f1a5187f7
12 changed files with 20 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue