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
grovepi+
android-loadermanager
pass-by-const-reference
cryptoapi
selenium-side-runner
tablename
algorithm-animation
mocking
intellij-scala
perl5.12
od
column-width
health-monitoring
ant-media-server
jenkins-shared-libraries
consul-template
modal-view
cherokee
angular-auxiliary-routes
bunit
log-viewer
organization
nameservers
to-json
google-ad-exchange
setup.py
resampling
web3-react
rsdriver
test-kitchen