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

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
address review: test error for _6f
  • Loading branch information
skirpichev committed Jul 3, 2025
commit 51592d4b66a36bbdc546dffd21f6378c2afc9b84
1 change: 1 addition & 0 deletions Lib/test/test_decimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,7 @@ def test_formatting(self):

# precision or fractional part separator should follow after dot
self.assertRaises(ValueError, format, Decimal(1), '.f')
Comment thread
skirpichev marked this conversation as resolved.
self.assertRaises(ValueError, format, Decimal(1), '._6f')

def test_negative_zero_format_directed_rounding(self):
with self.decimal.localcontext() as ctx:
Expand Down
Loading