Skip to content

Commit b7379b9

Browse files
serhiy-storchakamiss-islington
authored andcommitted
pythongh-109218: Refactor tests for the complex() constructor (pythonGH-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. (cherry picked from commit bf098d4) Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent 863da72 commit b7379b9

File tree

1 file changed

+195
-167
lines changed

1 file changed

+195
-167
lines changed

0 commit comments

Comments
 (0)