diff --git a/codespell_lib/tests/test_basic.py b/codespell_lib/tests/test_basic.py index 72b14f8c3a7..27ee3d7d461 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