Skip to content

[3.15] Improved test coverage for codeop.py. (GH-154100) - #154938

Merged
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-405daf5-3.15
Jul 31, 2026
Merged

[3.15] Improved test coverage for codeop.py. (GH-154100)#154938
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-405daf5-3.15

Conversation

@miss-islington

Copy link
Copy Markdown
Contributor
  • 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

* 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>
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Jul 30, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Sprint Jul 30, 2026
@hugovk
hugovk merged commit a19a086 into python:3.15 Jul 31, 2026
60 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Sprint Jul 31, 2026
@miss-islington
miss-islington deleted the backport-405daf5-3.15 branch July 31, 2026 09:32
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