Repository navigation
Commit a505ecd
authored
bpo-31676: Fix test_imp.test_load_source() side effect (python#3871)
test_load_source() now replaces the current __name__ module with a
temporary module to prevent side effects.1 parent a991215 commit a505ecd
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | | - | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
315 | 320 | | |
316 | 321 | | |
317 | 322 | | |
| |||
0 commit comments