21 Commits

Author SHA1 Message Date
Jeong, YunWon
563abea251 Require exact n_sequence_fields length in TryFromObject (#7150)
Unmark test_asctime expectedFailure for Windows.
2026-02-15 14:37:48 +09:00
Jeong, YunWon
ad29b43ca6 Use CRT functions for time module on Windows (#7090)
- Replace chrono with CRT functions (wcsftime, _gmtime64_s,
  _localtime64_s, _mktime64) on Windows for correct behavior
- Fix timezone name corruption: use take_while instead of filter
  for null-terminated wide strings in TIME_ZONE_INFORMATION
- Fix wcsftime symbol name (_wcsftime -> wcsftime)
- Fix CString import cfg to unix-only
- Remove 13 expectedFailure markers from test_time for Windows
2026-02-14 09:13:06 +09:00
CPython Developers
c4f23295bf Update test_time from v3.14.3 2026-02-11 16:57:51 +09:00
Terry Tianlin Luan
833f7343c8 Update email library v3.13.11 (#6642)
* Updated the email library + added test suite

* Added Windows altzone + Fixed memory error in `bytes_inner.rs`
2026-01-17 18:15:35 +09:00
Terry Tianlin Luan
609dbb1439 Downgraded skips in tests (#6716)
* Downgraded skips in tests

* Fixed failing tests

* Fixed test_ftplib + test_socket + test_ssl + test_threaded_import failures

* Removed comments about which tests are run in which environment

* Addressed PR comments

* Annotated skips on failing tests

* Removed unneeded tests

* Removed unneeded sys import from test_ftplib

* Added annotation to test_ftplib

* Readded skipIf to test_cleanup_with_symlink_modes with a more general ENV_POLLUTING_TESTS_WINDOWS

* Addressed PR comments

* Made changes to minimize diff in PR

* Apply suggestion from @youknowone

---------

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
2026-01-15 21:43:22 +09:00
Jeong, YunWon
2463bdff0e Fix time.strptime (#6208) 2025-10-23 17:28:53 +09:00
Lee Dogeon
5953a938bd chore: test testcases with @unittest.skip decorator (#5871)
Signed-off-by: Lee Dogeon <dev.moreal@gmail.com>
2025-06-30 19:07:58 +09:00
Jeong YunWon
763ba9fd6a edit test_time 2025-03-29 09:46:47 +09:00
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