Commit 40fd66b
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 <duaneg@dghda.com>
1 parent 394db66 commit 40fd66b
2 files changed
+5
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6812 | 6812 | | |
6813 | 6813 | | |
6814 | 6814 | | |
6815 | | - | |
6816 | | - | |
6817 | | - | |
6818 | | - | |
6819 | | - | |
6820 | | - | |
6821 | | - | |
6822 | | - | |
6823 | | - | |
6824 | | - | |
6825 | | - | |
6826 | | - | |
6827 | | - | |
6828 | | - | |
6829 | 6815 | | |
6830 | | - | |
6831 | | - | |
| 6816 | + | |
6832 | 6817 | | |
6833 | 6818 | | |
6834 | 6819 | | |
6835 | | - | |
6836 | | - | |
| 6820 | + | |
| 6821 | + | |
6837 | 6822 | | |
6838 | 6823 | | |
6839 | 6824 | | |
| |||
| 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