Skip to content

Commit

Permalink
pythongh-109218: Refactor tests for the complex() constructor (python…
Browse files Browse the repository at this point in the history
…GH-119635)

* 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 and estyxx committed Jul 17, 2024
1 parent fe26a76 commit 23d4599
Showing 1 changed file with 195 additions and 167 deletions.
Loading

0 comments on commit 23d4599

Please sign in to comment.