brackets are hard

This commit is contained in:
meejah 2020-12-14 15:57:03 -07:00
parent 4884f81235
commit 4fe65a8efd

View File

@ -99,7 +99,7 @@ def run_cli_bytes(verb, *args, **kwargs):
# encodings to exercise different behaviors.
stdout = TextIOWrapper(BytesIO(), encoding)
stderr = TextIOWrapper(BytesIO(), encoding)
stdin = TextIOWrapper(BytesIO(kwargs.get("stdin", b""), encoding))
stdin = TextIOWrapper(BytesIO(kwargs.get("stdin", b"")), encoding)
d = defer.succeed(argv)
d.addCallback(runner.parse_or_exit_with_explanation, stdout=stdout, stderr=stderr, stdin=stdin)
d.addCallback(