bpo-31676: Fix test_imp.test_load_source() side effect (#3871)
test_load_source() now replaces the current __name__ module with a temporary module to prevent side effects.
Showing
Please register or sign in to comment
test_load_source() now replaces the current __name__ module with a temporary module to prevent side effects.