[3.11] gh-108927: Fix removing testing modules from sys.modules (GH-108952) (ПР-112712)
It breaks import machinery if the test module has submodules used in other tests. (cherry picked from commit e08b70fab1fbc45fa498020aac522ae1d5da6136) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
M
Miss Islington (bot) committed
8dbda1cf3eab8696dfbb95f0ca60af8db39d51c4
Parent: 76c9c9c
Committed by GitHub <noreply@github.com>
on 12/4/2023, 4:16:03 PM