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
yolo
ora-12545
instrumented-test
web-application-project
flask-oauthlib
axis
reactive-kafka
utop
nexus-iq
wsaasyncselect
jagged-arrays
git-secret
bitshares
ioncube
expandable-table
typeahead
lstm
pyre-check
yuv
xrange
recycle
autoresetevent
cordova-plugin-fcm
gridding
google-play
survival-analysis
case-conversion
choropleth
audience
facebook-sharer