Skip to content

Commit e9a646d

Browse files
committed
Accept suggestions from new toolchain
1 parent 679ea54 commit e9a646d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎test/test_editor.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_existing(self, call):
2020
assert actual == expected
2121

2222
filename = Path(FILENAME).resolve()
23-
call.assert_called_once_with('{} "{}"'.format(EDITOR, filename))
23+
call.assert_called_once_with(f'{EDITOR} "{filename}"')
2424

2525
actual = editor('X', filename=filename)
2626
expected = 'X'
@@ -33,7 +33,7 @@ def test_new(self, call):
3333
assert actual == expected
3434

3535
filename = Path(FILENAME).resolve()
36-
expected = '{} "{}"'.format(EDITOR, filename)
36+
expected = f'{EDITOR} "{filename}"'
3737
call.assert_called_once_with(expected, shell=True)
3838

3939
def test_temp(self, call):

0 commit comments

Comments
 (0)