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
xbee
turbo-c
swinject
language
at-platform
amzi-prolog
mysql-python
phpagi
acorn
android-nestedscrollview
dcraw
android-gradle-3.0
viewcontroller-lifecyle
cmd.exe
truncation
quit
sxssf
match-against
exago
epydoc
powerapps-canvas
gpt-2
smart-quotes
datalust-seq
rowdatabound
angularjs-compile
django-filters
fragment-backstack
threshold
sass-loader