commit | dde944f9df8dea28c07935ebd6de06db7e575c12 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Sun Aug 04 03:01:55 2019 -0700 |
committer | GitHub <noreply@github.com> | Sun Aug 04 03:01:55 2019 -0700 |
tree | 46e70ac8147a94faa90941450d57de97c8dadbba | |
parent | 4e402d37eb4009140421365acbeff78104b108e0 [diff] |
bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timezone. (GH-14996) There was a discrepancy between the Python and C implementations. Add singletons ALWAYS_EQ, LARGEST and SMALLEST in test.support to test mixed type comparison. (cherry picked from commit 17e52649c0e7e9389f1cc2444a53f059e24e6bca) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>