Message272748
> in looking through test_cmath, it appears that only the two numeric
> argument form of complex(i, j) is tested for any of the functions, not the
> complex('i+nj') string form.
We're testing the cmath functions on complex number inputs; I don't think it matters much how those complex numbers are created. The string form of the constructor can't create any complex numbers that the two-argument `complex(x, y)` form can't, so we're not losing test coverage by only using the `complex(x, y)` form.
The complex number creation from both strings and pairs of floats should be tested independently, of course. |
|
Date |
User |
Action |
Args |
2016-08-15 11:02:29 | mark.dickinson | set | recipients:
+ mark.dickinson, ned.deily, Evelyn Mitchell |
2016-08-15 11:02:29 | mark.dickinson | set | messageid: <1471258949.83.0.0898787437476.issue27763@psf.upfronthosting.co.za> |
2016-08-15 11:02:29 | mark.dickinson | link | issue27763 messages |
2016-08-15 11:02:29 | mark.dickinson | create | |
|