Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 111c41f

Browse files
committed
Add tests for a few more fill character corner cases
1 parent e240c70 commit 111c41f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lib/test/test_fractions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,9 @@ def test_format_f_presentation_type(self):
992992
(F(-2, 3), '\x00>7.2f', '\x00\x00-0.67'),
993993
(F(-2, 3), '\n>7.2f', '\n\n-0.67'),
994994
(F(-2, 3), '\t>7.2f', '\t\t-0.67'),
995+
(F(-2, 3), '>>7.2f', '>>-0.67'),
996+
(F(-2, 3), '<>7.2f', '<<-0.67'),
997+
(F(-2, 3), '→>7.2f', '→→-0.67'),
995998
# Zero-padding
996999
(F(-2, 3), '07.2f', '-000.67'),
9971000
(F(-2, 3), '-07.2f', '-000.67'),

0 commit comments

Comments
 (0)