FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-135335: Simplify preload regression test using __main__ (GH-138686) by miss-islington · Pull Request #141886 · python/cpython · GitHub

Repository navigation

[3.14] gh-135335: Simplify preload regression test using __main__ (GH-138686) - #141886

Merged
gpshead merged 1 commit into
python:3.14from
miss-islington:backport-425f24e-3.14
Nov 24, 2025
Merged

gpshead merged 1 commit into
python:3.14from
miss-islington:backport-425f24e-3.14

Conversation

Copy link
Copy Markdown
Contributor

Simplify preload regression test using __main__

With the fix for gh-126631 __main__ modules can be preloaded and the regression
test for gh-135335 can be simplified to just use a self-contained script rather
than requiring a module.

Note this assumes and implicitly tests that __main__ is preloaded by default.
(cherry picked from commit 425f24e)

Co-authored-by: Duane Griffin duaneg@dghda.com

…honGH-138686)

Simplify preload regression test using `__main__`

With the fix for pythongh-126631 `__main__` modules can be preloaded and the regression
test for pythongh-135335 can be simplified to just use a self-contained script rather
than requiring a module.

Note this assumes and implicitly tests that `__main__` is preloaded by default.
(cherry picked from commit 425f24e)

Co-authored-by: Duane Griffin <duaneg@dghda.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news type-refactor Code refactoring (with no changes in behavior)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL