10 Commits
Author SHA1 Message Date
youknowdotandCodex e833153a4f Fix UTF-8 startup option precedence and refresh canonical tests (#9422)
* Fix UTF-8 startup option precedence and refresh canonical tests

Resolve the first explicit UTF-8 option before environment validation and align startup diagnostics with CPython 3.15. Refresh canonical encoding tests through update_lib and narrow the existing environment test failure to Windows. Support only monotonic expected-failure narrowing in updater metadata with focused regression tests.

Assisted-by: OpenAI Codex: model version unavailable

* Normalize configured standard-stream codec names

Resolve explicit stdio encodings through CodecInfo.name before creating standard streams, matching CPython initialization. Preserve ordinary TextIOWrapper spelling and existing standard-stream error policies; leave canonical tests unchanged.

Assisted-by: OpenAI Codex: model version unavailable

* Retire passing standard-stream UTF-8 expected failure

The configured-codec normalization fix makes canonical test_stdio pass in both Linux CI attempts. Remove only its stale expectedFailure through update_lib, preserving canonical assertions and all other platform guards.

Assisted-by: OpenAI Codex: model version unavailable

---------

Co-authored-by: Codex <codex@openai.com>
2026-10-28 18:23:22 +09:00
Shahar Naveh 8585981dda Update some tests to 3.14.5 (#8072)
* Update `test_poll.py` to 3.14.5

* Update `test_utf8_mode.py` to 3.14.5

* Align patches for `test_unpack.py`
2026-06-11 13:36:51 +09:00
Jeong, YunWon 3e6cb83fc5 Fix test_io expectedFailures
Assisted-by: Codex:gpt-6
2026-02-06 00:15:18 +09:00
Jeong YunWon 367a948ff0 Adapt unittest.expectedFailureIf 2023-03-02 04:41:15 +09:00
Jeong YunWon 25398fe622 adjust success/filure for test_utf8_mode 2023-02-24 02:07:44 +09:00
CPython Developers a7c3740dee Update test_utf8_mode from 3.11.2 2023-02-24 02:06:13 +09:00
Jeong YunWon 2fbd01f23e Fix surrogateescape_errors 2022-07-25 04:10:59 +09:00
Padraic Fanning 558df14a04 Mark failing test on Windows 2021-07-07 22:31:30 -04:00
Padraic Fanning 5da63a3701 Mark erroring/failing tests 2021-07-07 21:11:41 -04:00
Padraic Fanning c157ac50c4 Add test_utf8_mode from CPython 3.8 2021-07-07 21:11:40 -04:00