bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests (GH-8520)

Backports: 3cf74384b53b998fa846dc2590cedf9ad2a0d5fd
Signed-off-by: Chris Withers <chris@withers.org>
1 file changed