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
quora
prefix-notation
jmsserializerbundle
beaker-notebook
jcr
c++sharp
viola-jones
quagga
fork-join
nfs
undertow
scrapyd-deploy
gdata-api
managementeventwatcher
perfview
http-status-code-410
python-dataset
tyk
sc
foreign-collection
fetchxml
ucontext
addrange
nautowired
filterexpression
blueprint
custom-url-protocol
buildsrc
peerjs
wordnet