Skip to content

Commit

Permalink
pythongh-109218: Refactor tests for the complex() constructor
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 committed May 27, 2024
1 parent 59630f9 commit c35779b
Showing 1 changed file with 184 additions and 162 deletions.
Loading

0 comments on commit c35779b

Please sign in to comment.