This should fix mktime test on Windows
This commit is contained in:
parent
31c5dd6b19
commit
a6892418ad
|
@ -347,6 +347,7 @@ class _Test4dYear(_BaseYearTest):
|
|||
tt = time.localtime(t)
|
||||
except (OverflowError, ValueError):
|
||||
pass
|
||||
else:
|
||||
self.assertEqual(time.mktime(tt), t)
|
||||
# It may not be possible to reliably make mktime return error
|
||||
# on all platfom. This will make sure that no other exception
|
||||
|
|
Loading…
Reference in New Issue