Skip to content

[3.14] Improved test coverage for codeop.py. (GH-154100) - #154994

Merged
hugovk merged 1 commit into
python:3.14from
encukou:backport-405daf5-3.14
Jul 31, 2026
Merged

[3.14] Improved test coverage for codeop.py. (GH-154100)#154994
hugovk merged 1 commit into
python:3.14from
encukou:backport-405daf5-3.14

Conversation

@encukou

@encukou encukou commented Jul 31, 2026

Copy link
Copy Markdown
Member
  • Ported existing tests to cover both the CommandCompiler and Compile classes
  • Added tests that cover the case when PyCF_ONLY_AST is set
  • Added tests that cover the case when the compile method returns a code object with flags

(cherry picked from commit 405daf5)

* Ported existing tests to cover both the CommandCompiler and Compile classes
* Added tests that cover the case when PyCF_ONLY_AST is set
* Added tests that cover the case when the compile method returns a code object with flags

(cherry picked from commit 405daf5)

Co-authored-by: vjabuilds <77214151+vjabuilds@users.noreply.github.com>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>

@hugovk hugovk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in Sprint Jul 31, 2026
@hugovk
hugovk enabled auto-merge (squash) July 31, 2026 13:36
@hugovk
hugovk merged commit 2e9e789 into python:3.14 Jul 31, 2026
62 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Sprint Jul 31, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @encukou for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Jul 31, 2026

Copy link
Copy Markdown

GH-154996 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Jul 31, 2026
hugovk pushed a commit that referenced this pull request Jul 31, 2026
…154996)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: vjabuilds <77214151+vjabuilds@users.noreply.github.com>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants