[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2025-01-06 17:17:57 +00:00
parent 10fa79ca18
commit 5ffc9d6634
1 changed files with 9 additions and 6 deletions

View File

@ -40,12 +40,15 @@ class io_dict_cli_test_case(io_dict_test_case):
IODict(s, format="cli")
def test_from_cli_with_invalid_data(self):
with patch(
"sys.stdout",
new_callable=StringIO,
), patch(
"sys.stderr",
new_callable=StringIO,
with (
patch(
"sys.stdout",
new_callable=StringIO,
),
patch(
"sys.stderr",
new_callable=StringIO,
),
):
s = "Lorem ipsum est in ea occaecat nisi officia."
# static method