Python lint: Ruff rules for comprehensions and performance (#512)
This commit is contained in:
parent
8c9269c34b
commit
babb477dff
1 changed files with 15 additions and 14 deletions
|
|
@ -42,7 +42,7 @@ async def test_server_base64_encoding_issue():
|
|||
|
||||
# Create binary data that will definitely result in + and / characters
|
||||
# when encoded with standard base64
|
||||
binary_data = bytes([x for x in range(255)] * 4)
|
||||
binary_data = bytes(list(range(255)) * 4)
|
||||
|
||||
# Register a resource handler that returns our test data
|
||||
@server.read_resource()
|
||||
|
|
|
|||
Loading…
Reference in a new issue