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
google-play-console
reliability
google-experiments
chrome-canary
gwt-platform
portainer
metroframework
mybinder
swagger-wcf
node-orm2
opencvjs
ujson
branding
attributes
heapsort
web3-java
keyboard-events
spring-data-keyvalue
intel-inspector
test-class
visual-studio-express
conll
for-in-loop
mini-httpd
trend
external-url
root-access
automap
spatie-ssh
ccd