[3.12] gh-98040: Fix importbench: use types.ModuleType() (GH-105743) (#105754)
gh-98040: Fix importbench: use types.ModuleType() (GH-105743) Replace removed imp.new_module(name) with types.ModuleType(name). (cherry picked from commit 457a459c7804950d4c27a243b176eb933ec87a06) Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
51b533ec5049593dc009383226f935cf5181484c
Parent: 27426d8
Committed by GitHub <noreply@github.com>
on 6/13/2023, 10:59:02 PM