Message303085
Hi R. David Murray,
doctest compares strings, so "-0.0" is not the same as "0.0" to doctest
Thank you. That explains why "-0.0 == 0.0" is True to Python, but False to
doctest.
Cheers,
Zé
On Tue, Sep 26, 2017 at 5:35 PM, R. David Murray <report@bugs.python.org>
wrote:
>
> R. David Murray added the comment:
>
> To be clear: doctest compares strings, so "-0.0" is not the same as "0.0"
> to doctest.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue31599>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2017-09-27 00:40:58 | Zé Vinícius | set | recipients:
+ Zé Vinícius, r.david.murray |
2017-09-27 00:40:58 | Zé Vinícius | link | issue31599 messages |
2017-09-27 00:40:57 | Zé Vinícius | create | |
|