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
Merge branch 'main' into complex-constructor
  • Loading branch information
serhiy-storchaka committed May 30, 2024
commit 2a60cc8b9a90d2bb2e02eebbb2864c0f8ee9cb87
3 changes: 1 addition & 2 deletions Lib/test/test_complex.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,7 @@ def check(z, x, y):
check(complex(4.25, imag=1.5), 4.25, 1.5)

# check that the sign of a zero in the real or imaginary part
# is preserved when constructing from two floats. (These checks
# are harmless on systems without support for signed zeros.)
# is preserved when constructing from two floats.
for x in 1.0, -1.0:
for y in 0.0, -0.0:
check(complex(x, y), x, y)
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.