Repository navigation
Restore CPython test setup in test_int and test_pdb - #10158
youknowone merged 1 commit into
Conversation
Regenerate both files from v3.15.2 with update_lib, preserving active RustPython guards. WASI already imports unittest.mock in test_codecs, and no pdb doctest uses the custom expected-failure checker. Refs: RustPython#9852 Assisted-by: Codex:GPT-6.2
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Merging this PR will not alter performance
Comparing Footnotes
|
|
cc @jiwahn , thanks! |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Restore the CPython 3.15.2 test setup through
update_lib:test_int: restore theunittest.mockimport and two CPython-only decorators. The WASI suite already runstest_codecs, which imports the same module. Keep the existing wasm clock guard.test_pdb: return to the default doctest output checker. There are no expected-failure flags in the suite. Keep the four real doctest skips and the Android marker. The expected outputs and flags of all 448 discovered examples are unchanged.On Linux, CPython and RustPython passed the selected integer, codec and pdb controls (50 cases on each; three CPython-specific cases skipped on RustPython). The two restored mock-decorated tests remain CPython-only. Git hooks and the local dependency check passed. Full suites and candidate WASI/macOS/Windows runs are left to CI; no runtime code changed.
Refs #9852.