From 2853cc527faa37e09d572987261edc35e204b2a6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 2 Jun 2024 14:07:05 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- codespell_lib/tests/test_basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codespell_lib/tests/test_basic.py b/codespell_lib/tests/test_basic.py index 1430e7999ba..98e5dd41f02 100644 --- a/codespell_lib/tests/test_basic.py +++ b/codespell_lib/tests/test_basic.py @@ -238,7 +238,7 @@ def test_interactivity( try: assert cs.main(fname) == 0, "empty file" fname.write_text("abandonned\n") - with mock.patch.object(sys, 'argv', ("-i", "-1", fname)): + with mock.patch.object(sys, "argv", ("-i", "-1", fname)): with pytest.raises(SystemExit) as e: cs.main("-i", "-1", fname) assert e.type == SystemExit