mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-123811: Test that round(Decimal) can return signed zero (GH-124007)
This commit is contained in:
parent
acb3f875fb
commit
b46c65ed2b
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