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
rcharts
compose-desktop
adb
fipy
vue-cli
mousekeyhook
ihostedservice
safe-browsing-api
rapidfuzz
msw
apim
meta-method
cakephp-3.8
zend-controller
pydot
dodgr
dbisam
file-icons
in-clause
timer-trigger
spark-jobserver
refer
snyk
knockout.js
u3d
gwt-mosaic
ipopt
visualvm
workflow-activity
http-head