Victor Stinner
3e2c8d84c6
test_time: rewrite PyTime API rounding tests
...
Drop all hardcoded tests. Instead, reimplement each function in Python, usually
using decimal.Decimal for the rounding mode.
Add much more values to the dataset. Test various timestamp units from
picroseconds to seconds, in integer and float.
Enhance also _PyTime_AsSecondsDouble().
2015-09-09 22:32:48 +02:00
..
2015-08-17 14:46:51 -04:00
2015-09-08 00:36:56 -04:00
2015-07-29 14:35:12 +02:00
2015-09-09 07:00:54 -07:00
2015-08-01 08:19:06 +12:00
2015-08-29 13:57:46 -04:00
2015-09-06 21:44:45 +03:00
2015-08-18 22:03:08 -07:00
2015-09-09 02:10:35 -04:00
2015-08-24 19:53:56 -07:00
2015-07-05 11:45:31 -07:00
2015-07-23 15:02:25 +03:00
2015-09-07 05:10:55 -07:00
2015-08-24 11:46:56 +12:00
2015-09-09 22:32:48 +02:00
2015-07-21 00:54:19 -07:00
2015-09-09 23:39:45 +03:00
2015-08-18 00:35:52 -07:00
2015-07-27 10:42:54 +12:00
2015-07-03 13:11:35 -04:00
2015-08-28 22:20:29 +03:00
2015-08-23 11:28:01 -07:00
2015-07-29 23:51:47 +03:00
2015-07-23 08:54:35 +03:00
2015-08-18 10:23:16 -07:00
2015-07-10 22:24:47 +03:00
2015-07-30 18:26:35 +03:00
2015-08-14 11:47:41 +12:00
2015-06-28 17:08:35 +03:00
2015-09-09 01:09:21 +02:00
2015-08-17 22:04:45 -07:00
2015-08-18 14:30:15 -04:00
2015-07-31 09:01:38 +12:00
2015-09-05 21:05:05 +10:00
2015-07-31 04:11:29 +03:00
2015-06-22 12:19:30 -04:00
2015-08-16 19:43:34 -07:00
2015-09-05 19:17:24 -04:00
2015-08-10 20:57:37 -07:00
2015-08-18 22:25:16 -07:00
2015-07-28 00:06:31 +03:00
2015-08-17 22:04:45 -07:00
2015-08-17 22:04:45 -07:00
2015-09-08 05:53:42 +03:00
2015-07-17 11:59:21 -07:00
2015-07-09 10:39:55 -04:00
2015-08-17 22:04:45 -07:00
2015-06-21 14:06:55 +03:00
2015-07-18 23:27:00 +03:00
2015-07-10 22:13:40 +03:00
2015-07-06 09:29:41 +02:00
2015-08-26 12:40:28 +12:00
2015-07-23 15:01:58 +03:00
2015-07-26 06:50:51 +12:00
2015-07-03 13:11:35 -04:00
2015-09-04 12:15:54 -07:00
2015-07-14 13:25:03 -07:00
2015-09-06 00:39:37 -07:00
2015-07-10 22:13:40 +03:00
2015-09-05 11:57:47 -07:00