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
multitargeting
scripting.dictionary
nevpnmanager
get-headers
gobject
netbeans-plugins
double-elimination
e1071
orbot
log4net
search-form
ansi-sql
gitbucket
byte
seaweedfs
densenet
rabbitmq-management
pgadmin-4
google-cloud-dataproc-metastore
pii
gadinterstitial
spacevim
identity-column
quanteda
windows-creators
serenity-spring
winlogon
device-node
apache-commons-email
pixastic