[3.12] gh-109218: Refactor tests for the complex() constructor (GH-119635) (GH-119796)
* 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 bf098d4157158e1e4b2ea78aba4ac82d72e24cff) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
M
Miss Islington (bot) committed
2e31e5695d9c58cab4569a53cf097badd1141a5b
Parent: 863da72
Committed by GitHub <noreply@github.com>
on 5/30/2024, 6:05:38 PM