Skip to content

Commit bf098d4

Browse files
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.
1 parent e875c2d commit bf098d4

File tree

1 file changed

+195
-167
lines changed

1 file changed

+195
-167
lines changed

0 commit comments

Comments
 (0)