mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-05-13 08:37:09 +00:00
foo
This commit is contained in:
parent
a75ee8e097
commit
5aa515e52c
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ stdout, stderr = p.communicate()
|
|||
if p.returncode != 1:
|
||||
raise SystemExit('%s did not fail with exit code 1' % ' '.join(cmd))
|
||||
|
||||
if b'Invalid argument' not in stderr:
|
||||
if 'Invalid argument'.encode() not in stderr:
|
||||
raise SystemExit(
|
||||
'"Invalid argument" not found in stderr:\n%s' % stderr.decode()
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue