gh-109218: Refactor tests for the complex() constructor (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.
S
Serhiy Storchaka committed
bf098d4157158e1e4b2ea78aba4ac82d72e24cff
Parent: e875c2d
Committed by GitHub <noreply@github.com>
on 5/30/2024, 5:35:59 PM