SIGN IN SIGN UP

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

gh-135335: Simplify preload regression test using __main__ (GH-138686)

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 425f24e4fad672c211307a9f0018c8d39c4db9de)

Co-authored-by: Duane Griffin <duaneg@dghda.com>
M
Miss Islington (bot) committed
40fd66bab84790868f3efe255bb9791d1e8ecf98
Parent: 394db66
Committed by GitHub <noreply@github.com> on 11/24/2025, 3:09:34 AM