SIGN IN SIGN UP

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

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
47cb43c0f85159b67657c3152f85050cb640c4b4
Parent: 2e8d4f1
Committed by GitHub <noreply@github.com> on 11/24/2025, 3:09:40 AM