Skip to content

Commit 354f797

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 <storchaka@gmail.com>
1 parent 5a037b7 commit 354f797

1 file changed

Lines changed: 195 additions & 167 deletions

File tree

0 commit comments

Comments
 (0)