13 Commits

Author SHA1 Message Date
Ankit Kumar Pandey
fcfe8e1ac8 Return arg in case of invalid param in strftime
Chrono panics in case of unsupported formats, this patch handles such
cases and returns supplied format as a result.
2023-02-20 21:05:16 +05:30
Padraic Fanning
498121bf1b Update test_time.py to CPython 3.10 2022-04-29 21:39:56 -04:00
Dean Li
29c953d9a6 test: update test.support and test_io to 3.10
Initially this is only meant to be a small update for `test_io.py`.
But it turns out that `test.support` need a lot of cleanup especially
for `test.support.warnings_helper`.
2022-04-18 22:50:55 +08:00
snowapril
e2142e1d07 Remove skip decorator on window test
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-11-01 15:20:55 +09:00
jfh
c6ac24c2f2 Clean up cfgs, handle 32bit timespec creation, skip tests for windows. 2021-10-28 21:42:40 +03:00
jfh
ee77f3c332 Add monotonic_ns, perf_counter, perf_counter_ns. 2021-10-27 11:54:58 +03:00
jfh
1817fd6565 Add get_clock_info. 2021-10-27 10:36:10 +03:00
jfh
cab44a2ac3 Add clock_gettime, clock_settime, clock_getres. 2021-10-26 20:06:09 +03:00
Padraic Fanning
937054b1c9 Clean up skips in test_time 2021-10-18 20:34:35 -04:00
Gyuseok Jung
de22c1dba2 add unittest.skip to pass test 2021-09-05 22:18:55 +09:00
Gyuseok Jung
bf02c62f48 change to not create rust error 2021-09-05 20:49:42 +09:00
Gyuseok Jung
53560f03cf change some method to pass test 2021-09-05 20:31:53 +09:00
Gyuseok Jung
90cd579c43 add time test by CPython 3.8.11 2021-09-05 20:30:51 +09:00