]> granicus.if.org Git - python/commit
Fix test_time on platform with 32-bit time_t type
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 10 Sep 2015 08:10:39 +0000 (10:10 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 10 Sep 2015 08:10:39 +0000 (10:10 +0200)
commit4237d3474c4792472009c6c6c5d46a7f7ab1410d
tree16d8435e1868d79970a0384ca65db4313b0c2e44
parent9c72f9b30a60d09c10b6cde23bd4b0546c6947af
Fix test_time on platform with 32-bit time_t type

Filter values which would overflow when converted to a C time_t type.
Lib/test/test_time.py
Modules/_testcapimodule.c