mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
[3.13] gh-123811: Test that round(Decimal) can return signed zero (GH-124007) (#124048)
gh-123811: Test that round(Decimal) can return signed zero (GH-124007)
(cherry picked from commit b46c65ed2b
)
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
This commit is contained in:
parent
181c2b8669
commit
9a1e9dd111
1 changed files with 2 additions and 0 deletions
|
@ -2071,7 +2071,9 @@ class UsabilityTest:
|
|||
#to quantize, which is already extensively tested
|
||||
test_triples = [
|
||||
('123.456', -4, '0E+4'),
|
||||
('-123.456', -4, '-0E+4'),
|
||||
('123.456', -3, '0E+3'),
|
||||
('-123.456', -3, '-0E+3'),
|
||||
('123.456', -2, '1E+2'),
|
||||
('123.456', -1, '1.2E+2'),
|
||||
('123.456', 0, '123'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue