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
powerpoint-addins
fragmentmanager
tensorrt
emqx
dot-matrix
easy-peasy
maven-tomcat-plugin
xcode8
qdoublespinbox
openshift
alamofireimage
mach
uidocumentinteraction
siri-intent
visual-sourcesafe
fluidsynth
vivaldi
deadobjectexception
wildcard-expansion
request.querystring
kustomize
processstartinfo
puts
valarray
thumbor
authorize.net-arb
blueprism
meteor-slingshot
lipsync
applinks