From 33bcd7e50c354d358199675726350b495529fa07 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 17:10:14 +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 @@ def test_from_cli_with_invalid_arguments(self): 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