From 5ffc9d66342ababe6120d9d87132bdb675c24578 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:17:57 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/dicts/io/test_io_dict_cli.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tests/dicts/io/test_io_dict_cli.py b/tests/dicts/io/test_io_dict_cli.py index 4192b3f..3ca9ee1 100644 --- a/tests/dicts/io/test_io_dict_cli.py +++ b/tests/dicts/io/test_io_dict_cli.py @@ -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