Skip to content

Commit

Permalink
[3.12] gh-109218: Refactor tests for the complex() constructor (GH-11…
Browse files Browse the repository at this point in the history
…9635) (GH-119796)

* Share common classes.
* Use exactly representable floats and exact tests.
* Check the sign of zero components.
* Remove duplicated tests (mostly left after merging int and long).
* Reorder tests in more consistent way.
* Test more error messages.
* Add tests for missed cases.
(cherry picked from commit bf098d4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
  • Loading branch information
miss-islington and serhiy-storchaka authored May 30, 2024
1 parent 863da72 commit 2e31e56
Showing 1 changed file with 195 additions and 167 deletions.
Loading

0 comments on commit 2e31e56

Please sign in to comment.