Skip to content

Commit ead730e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c10084a commit ead730e

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

tests/dicts/io/test_io_dict_cli.py

+9-6
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,15 @@ def test_from_cli_with_invalid_arguments(self):
4040
IODict(s, format="cli")
4141

4242
def test_from_cli_with_invalid_data(self):
43-
with patch(
44-
"sys.stdout",
45-
new_callable=StringIO,
46-
), patch(
47-
"sys.stderr",
48-
new_callable=StringIO,
43+
with (
44+
patch(
45+
"sys.stdout",
46+
new_callable=StringIO,
47+
),
48+
patch(
49+
"sys.stderr",
50+
new_callable=StringIO,
51+
),
4952
):
5053
s = "Lorem ipsum est in ea occaecat nisi officia."
5154
# static method

0 commit comments

Comments
 (0)