From 4fe65a8efde8be1a807ca92f8efc2e33f40029a9 Mon Sep 17 00:00:00 2001 From: meejah Date: Mon, 14 Dec 2020 15:57:03 -0700 Subject: [PATCH] brackets are hard --- src/allmydata/test/common_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/common_util.py b/src/allmydata/test/common_util.py index dcf81b267..23bf15d9b 100644 --- a/src/allmydata/test/common_util.py +++ b/src/allmydata/test/common_util.py @@ -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(