Skip to content

Commit 505f059

Browse files
committed
MAINT: one more f-string
1 parent 8fc2381 commit 505f059

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_doctestplus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def test_normalize_with_ellipsis(self):
314314
c = OutputChecker()
315315
got = []
316316
for char in ['A', 'B', 'C', 'D', 'E']:
317-
got.append('{} {}'.format(char, float(ord(char))))
317+
got.append(f'{char} {float(ord(char))}')
318318
got = '\n'.join(got)
319319

320320
want = "A 65.0\nB 66.0\n...G 70.0"

0 commit comments

Comments
 (0)