Commit 47cb43c
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 425f24e)
Co-authored-by: Duane Griffin <[email protected]>
1 parent 2e8d4f1 commit 47cb43c
2 files changed
+5
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6457 | 6457 | | |
6458 | 6458 | | |
6459 | 6459 | | |
6460 | | - | |
6461 | | - | |
6462 | | - | |
6463 | | - | |
6464 | | - | |
6465 | | - | |
6466 | | - | |
6467 | | - | |
6468 | | - | |
6469 | | - | |
6470 | | - | |
6471 | | - | |
6472 | | - | |
6473 | | - | |
6474 | 6460 | | |
6475 | | - | |
6476 | | - | |
| 6461 | + | |
6477 | 6462 | | |
6478 | 6463 | | |
6479 | 6464 | | |
6480 | | - | |
6481 | | - | |
| 6465 | + | |
| 6466 | + | |
6482 | 6467 | | |
6483 | 6468 | | |
6484 | 6469 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | | - | |
7 | | - | |
8 | 7 | | |
9 | | - | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | | - | |
15 | | - | |
0 commit comments