Skip to content

Commit

Permalink
gh-109218: Refactor tests for the complex() constructor (GH-119635)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
serhiy-storchaka authored May 30, 2024
1 parent e875c2d commit bf098d4
Showing 1 changed file with 195 additions and 167 deletions.
Loading

0 comments on commit bf098d4

Please sign in to comment.