Skip to content

Conversation

@miss-islington
Copy link
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>
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