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
coccinelle
confuserex
amp-iframe
svelte-3
new-users
openvino
python-ipaddress
xsb
aws-elb
dbcommand
nsinputstream
android-espresso
commercial-application
vmware-sdk
watcom
cypress-test-retries
rfc2898
interpreted-language
vendor-prefix
jsni
interaction-plot
ruby-1.9.2
nestedlayout
backlight
picklist
current-page
telosys
wikibase-integrator
akka-kafka
energysmart