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
contentflow
c++-experimental
visual-studio-app-center-build
spring-xd
attributed
actionmethod
josephus
sdl
tempdir
qdap
inline-editor
onstart
datagridcomboboxcolumn
tradestation
google-cloud-instances
contenttype
smtp-server
ibis
dlna
scale-color-manual
victory-native
textpattern
mobile-development
amazon-product-api
pycall
pspell
elasticsearch-net">elasticsearch-net
javafx-8
react-native-fs
sqlalchemy-migrate