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
min.js
sap-data-dictionary
omdbapi
visual-studio-loadtest
mcjit
mainloop
bridging
at-utility
weibull
teechart
domain-model
linklabel
react-native-udp
ionic-cli
multiqueue
psi
pytest-selenium
dreal
monaco-languageserver
email-forwarding
xtext
django-1.5
office-ui-fabric-react
apache-kafka-mirrormaker
openpgp
esp8266
activemerchant
pulumi
python-dragonfly
rsdriver