Skip to content

Commit 51592d4

Browse files
committed
address review: test error for _6f
1 parent 02f0b3d commit 51592d4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_decimal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,6 +1173,7 @@ def test_formatting(self):
11731173

11741174
# precision or fractional part separator should follow after dot
11751175
self.assertRaises(ValueError, format, Decimal(1), '.f')
1176+
self.assertRaises(ValueError, format, Decimal(1), '._6f')
11761177

11771178
def test_negative_zero_format_directed_rounding(self):
11781179
with self.decimal.localcontext() as ctx:

0 commit comments

Comments
 (0)