style: apply some cleanups from Sourcery.ai (#626)
* style: apply some fixes from Sorcery * Apply suggestions from code review Co-authored-by: Yannick Jadoul <yannick.jadoul@belgacom.net> Co-authored-by: Joe Rickerby <joerick@mac.com> Co-authored-by: Yannick Jadoul <yannick.jadoul@belgacom.net> Co-authored-by: Joe Rickerby <joerick@mac.com>
This commit is contained in:
co-authored by
Yannick Jadoul
Joe Rickerby
parent
96aa38b56c
commit
5cbe3e2254
@@ -94,7 +94,7 @@ def test_binary_output():
|
||||
|
||||
data = bytes(output, encoding='utf8', errors='surrogateescape')
|
||||
|
||||
for i in range(0, 512):
|
||||
for i in range(512):
|
||||
assert data[i] == i % 256
|
||||
|
||||
# check that environment variables can carry binary data, except null characters
|
||||
|
||||
Reference in New Issue
Block a user