[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] 2024-08-15 05:49:13 +00:00
parent 3310eb9734
commit 57328f538e
2 changed files with 4 additions and 4 deletions

View file

@ -71,7 +71,7 @@ TESTS = (
@pytest.mark.parametrize(
('input_s', 'output', 'reversed_case', 'expected_retval'), TESTS
('input_s', 'output', 'reversed_case', 'expected_retval'), TESTS,
)
def test_rewrite(input_s, output, reversed_case, expected_retval, tmpdir):
path = tmpdir.join('file.py')
@ -79,7 +79,7 @@ def test_rewrite(input_s, output, reversed_case, expected_retval, tmpdir):
argv = [str(path)]
if reversed_case:
argv.append("--replace-single-quotes")
argv.append('--replace-single-quotes')
retval = main(argv)
assert path.read() == output