I'm unable to capture stdout of runpy.run_module into a variable using StringIO. To demonstrate the problem, I created a script called runpy_test.py (code below
wtforms-json
install-referrer
readdirectorychangesw
javafx-css
uibezierpath
bevy
jquery-steps
islandora
uidatepickermodetime
data-oriented-design
workday-api
outlook.application
bootstrap-switch
associated-value
imagemin
aws-deeplens
gmaven-plugin
xrp
openedge
teamspeak
libopencm3
stackprof
stack
apache-james
ibinspectable
difftime
statefulwidget
translate3d
historical-db
gdc