28 Commits
Author SHA1 Message Date
youknowdotandyouknowdot c70e9b8443 Sync selected Python 3.15 core library tests and repr type errors (#9321)
* Sync Python 3.15 core library tests and repr type errors

Synchronize ten selected library paths from CPython 3.15.0 at
d220409a13b77de7a6c30abe16ea90db01528edc using the canonical updater,
retaining existing RustPython adapters and failure markers.

Match generic __repr__ invalid-result errors to the qualified type-name
format required by the canonical ExceptionGroup regression, preserving
string results and exceptions raised by the implementation.

Implementation, source review, and validation were AI-assisted. The model
version identifier is unavailable; automated checks are not human
verification. Bounded validation covers 43 passes and one canonical skip,
not the full repository suites.

Assisted-by: OpenAI Codex:model version unavailable

* Preserve original escape decoder consumed length after callbacks

Keep the original input length as consumed after successful unicode-escape
and raw-unicode-escape decoding, including error-handler input replacement.
Only report the current cursor when a non-final decode stops on incomplete
input, matching CPython's codec wrappers and incomplete exits.

Fix the canonical Unicode escape mutation regression that failed CI on
Linux, macOS and Windows. Preserve all Lib tests and existing assertions.
Bounded Linux validation: 55 passes and one canonical skip, CLI build and
strict common/VM Clippy passed. Full repository suites were not run.

Implementation, source review, and validation were AI-assisted. The model
version identifier is unavailable; automated checks are not human
verification.

Assisted-by: OpenAI Codex:model version unavailable

---------

Co-authored-by: youknowdot <336763669+youknowdot@users.noreply.github.com>
2026-10-23 18:01:14 +09:00
Shahar Naveh 8f37484dc9 Update platform.py to 3.14.4 (#7824) 2026-05-12 00:43:49 +09:00
Terry Tianlin Luan f929a6eef8 Updated the platform + plistlib libraries + associated tests v.3.13.10 (#6611)
* Updated plistlib + test library

* Updated the platform library + test

* Re-added Rustpython platform version
2026-01-04 10:02:24 +09:00
Jeong, YunWonandCPython Developers 77939d2ca5 Update platform from CPython 3.11.5 (#5060)
* Update platform and test from CPython 3.11.5

* sys.dllhandle (=0)

* Unmark fixed test of test_sysconfig

---------

Co-authored-by: CPython Developers <>
2023-09-01 13:55:28 +09:00
Ankit Kumar Pandey 322aa6887a add support for os.fork and related functions (#4877) 2023-04-25 02:39:54 +09:00
Jeong YunWon 367a948ff0 Adapt unittest.expectedFailureIf 2023-03-02 04:41:15 +09:00
Jeong YunWon a45b49f2fd mark failing tests from testplatform 2022-08-15 03:44:09 +09:00
CPython Developers 2daddd913d Update platform from CPython 3.10.6 2022-08-15 02:36:46 +09:00
Dean Li 5ee4fb899b test: use os_helper 2021-11-28 20:51:32 +08:00
Jeong YunWon 913b78ca44 Revert "Merge pull request #3433 from deantvv/test-update"
This reverts commit 9fa5c5ac66, reversing
changes made to e7fa32c687.
2021-11-17 17:06:51 +09:00
Dean Li 49a5805d11 test: use os_helper 2021-11-13 02:18:33 +00:00
Yossi Konstantinovsky f35f6ad18c tests: fix test_mac_ver on M1 macs 2021-07-20 14:36:05 +03:00
Padraic Fanning e0db7d0d03 Mark macOS-only failure 2021-02-26 12:38:24 -05:00
Padraic Fanning e8493a2c39 Mark failing test 2021-02-26 00:00:12 -05:00
Padraic Fanning 797d427803 Unskip tests in test_platform 2021-02-25 22:21:30 -05:00
Padraic Fanning 121d912451 Explain test_mac_ver_with_fork skip 2021-02-09 11:32:55 -05:00
Padraic Fanning 9f3e23e982 Disable test_mac_ver_with_fork skip (for now) 2021-02-09 11:02:07 -05:00
Padraic Fanning 02282cb080 Explain test_mac_ver skip 2021-02-09 11:00:55 -05:00
Padraic Fanning b90b67cd3d Explain test_macos skip 2021-02-07 15:49:43 -05:00
Padraic Fanning 8fd2ba1669 Unskip test_libc_ver 2021-02-07 15:49:43 -05:00
Padraic Fanning 39e78a5032 Comment on test_mac_ver_with_fork skip 2021-02-07 15:49:43 -05:00
Padraic Fanning f4915d4097 Unskip test_mac_ver 2021-02-07 15:49:43 -05:00
Padraic Fanning dd0f74e2c7 Explain test_platform skip 2021-02-07 15:49:43 -05:00
Padraic Fanning ea370926a3 Unskip test_architecture_via_symlink 2021-02-07 15:49:43 -05:00
Padraic Fanning 830b63e065 Unskip test_architecture 2021-02-07 15:49:43 -05:00
Aviv Palivoda 1e8ea10278 Allow CPython tests to run on Mac 2020-02-08 11:45:35 +02:00
Aviv Palivoda 2a05c4e069 Mark unsupported platform tests 2020-02-06 21:53:31 +02:00
Aviv Palivoda 4720a2b638 Add test_platform from CPython 2020-02-06 21:53:31 +02:00